pub struct UnknownKind(pub String);Expand description
An unrecognised payload kind — varve refuses it rather than guess.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for UnknownKind
impl Clone for UnknownKind
Source§fn clone(&self) -> UnknownKind
fn clone(&self) -> UnknownKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnknownKind
impl Debug for UnknownKind
Source§impl Display for UnknownKind
impl Display for UnknownKind
impl Eq for UnknownKind
Source§impl Error for UnknownKind
impl Error for UnknownKind
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 PartialEq for UnknownKind
impl PartialEq for UnknownKind
impl StructuralPartialEq for UnknownKind
Auto Trait Implementations§
impl Freeze for UnknownKind
impl RefUnwindSafe for UnknownKind
impl Send for UnknownKind
impl Sync for UnknownKind
impl Unpin for UnknownKind
impl UnsafeUnpin for UnknownKind
impl UnwindSafe for UnknownKind
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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