Enum koit::KoitError [−][src]
pub enum KoitError { ToFormat(Box<dyn Error + Send + Sync + 'static>), FromFormat(Box<dyn Error + Send + Sync + 'static>), BackendRead(Box<dyn Error + Send + Sync + 'static>), BackendWrite(Box<dyn Error + Send + Sync + 'static>), BackendCreation(Box<dyn Error + Send + Sync + 'static>), }
Expand description
The error variants Koit can return.
The concrete source error types are the associated errors types
Format::Error
and Backend::Error
.
Variants
Expand description
Data failed to be encoded by the formatter.
Expand description
Data failed to be decoded by the formatter.
Expand description
The backend failed to read bytes.
Expand description
The backend failed to write bytes.
Expand description
The backend failed to be created.
Trait Implementations
impl Error for KoitError
[src]
impl Error for KoitError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for KoitError
impl Send for KoitError
impl Sync for KoitError
impl Unpin for KoitError
impl !UnwindSafe for KoitError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more