pub struct InvalidCode(/* private fields */);
Expand description
The given value is not a valid code.
Implementations§
Trait Implementations§
Source§impl Clone for InvalidCode
impl Clone for InvalidCode
Source§fn clone(&self) -> InvalidCode
fn clone(&self) -> InvalidCode
Returns a copy of the value. Read more
1.0.0 · 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 InvalidCode
impl Debug for InvalidCode
Source§impl Display for InvalidCode
impl Display for InvalidCode
Source§impl Error for InvalidCode
impl Error for InvalidCode
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<InvalidCode> for Error
impl From<InvalidCode> for Error
Source§fn from(err: InvalidCode) -> Self
fn from(err: InvalidCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidCode
impl RefUnwindSafe for InvalidCode
impl Send for InvalidCode
impl Sync for InvalidCode
impl Unpin for InvalidCode
impl UnwindSafe for InvalidCode
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