pub struct MetaMismatchError(pub String);
Expand description
If the frame doesn’t have the right meta content.
Tuple Fields§
§0: String
Trait Implementations§
Source§impl Debug for MetaMismatchError
impl Debug for MetaMismatchError
Source§impl Display for MetaMismatchError
impl Display for MetaMismatchError
Source§impl Error for MetaMismatchError
impl Error for MetaMismatchError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<MetaMismatchError> for MessageFrameError
impl From<MetaMismatchError> for MessageFrameError
Source§fn from(source: MetaMismatchError) -> Self
fn from(source: MetaMismatchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MetaMismatchError
impl RefUnwindSafe for MetaMismatchError
impl Send for MetaMismatchError
impl Sync for MetaMismatchError
impl Unpin for MetaMismatchError
impl UnwindSafe for MetaMismatchError
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