pub struct InvalidMetadataKey { /* private fields */ }Expand description
A possible error when converting a MetadataKey from another type.
Implementations§
Source§impl InvalidMetadataKey
impl InvalidMetadataKey
pub fn new() -> InvalidMetadataKey
Trait Implementations§
Source§impl Debug for InvalidMetadataKey
impl Debug for InvalidMetadataKey
Source§impl Display for InvalidMetadataKey
impl Display for InvalidMetadataKey
Source§impl Error for InvalidMetadataKey
impl Error for InvalidMetadataKey
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl Freeze for InvalidMetadataKey
impl RefUnwindSafe for InvalidMetadataKey
impl Send for InvalidMetadataKey
impl Sync for InvalidMetadataKey
impl Unpin for InvalidMetadataKey
impl UnwindSafe for InvalidMetadataKey
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