Struct vmm_vhost::message::ErrorContext
source · pub(crate) struct ErrorContext(Error);Tuple Fields§
§0: ErrorTrait Implementations§
source§impl Debug for ErrorContext
impl Debug for ErrorContext
source§impl<'de> Deserialize<'de> for ErrorContext
impl<'de> Deserialize<'de> for ErrorContext
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ErrorContext
impl Display for ErrorContext
source§impl Error for ErrorContext
impl Error for ErrorContext
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<&ErrorContext> for FlatErrorContext
impl From<&ErrorContext> for FlatErrorContext
source§fn from(value: &ErrorContext) -> Self
fn from(value: &ErrorContext) -> Self
Converts to this type from the input type.
source§impl From<Error> for ErrorContext
impl From<Error> for ErrorContext
source§impl Serialize for ErrorContext
impl Serialize for ErrorContext
source§impl TryFrom<FlatErrorContext> for ErrorContext
impl TryFrom<FlatErrorContext> for ErrorContext
Auto Trait Implementations§
impl Freeze for ErrorContext
impl RefUnwindSafe for ErrorContext
impl Send for ErrorContext
impl Sync for ErrorContext
impl Unpin for ErrorContext
impl UnwindSafe for ErrorContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more