Enum ethcore::error::QueueErrorKind
source · [−]Expand description
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Channel(IoError)
Io channel error
Full(usize)
Queue is full
Implementations
sourceimpl QueueErrorKind
impl QueueErrorKind
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
sourceimpl Debug for QueueErrorKind
impl Debug for QueueErrorKind
sourceimpl Display for QueueErrorKind
impl Display for QueueErrorKind
sourceimpl<'a> From<&'a str> for QueueErrorKind
impl<'a> From<&'a str> for QueueErrorKind
sourceimpl From<QueueError> for QueueErrorKind
impl From<QueueError> for QueueErrorKind
sourcefn from(e: QueueError) -> Self
fn from(e: QueueError) -> Self
Performs the conversion.
sourceimpl From<QueueErrorKind> for QueueError
impl From<QueueErrorKind> for QueueError
sourcefn from(e: QueueErrorKind) -> Self
fn from(e: QueueErrorKind) -> Self
Performs the conversion.
sourceimpl From<QueueErrorKind> for ErrorKind
impl From<QueueErrorKind> for ErrorKind
Io channel queue error
sourcefn from(e: QueueErrorKind) -> Self
fn from(e: QueueErrorKind) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for QueueErrorKind
impl Send for QueueErrorKind
impl Sync for QueueErrorKind
impl Unpin for QueueErrorKind
impl !UnwindSafe for QueueErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more