pub struct KeyRejected(/* private fields */);Expand description
An error indicating that a key was rejected.
Implementations§
Source§impl KeyRejected
impl KeyRejected
pub fn description_when_internal(&self) -> &'static str
Trait Implementations§
Source§impl Debug for KeyRejected
impl Debug for KeyRejected
Source§impl Display for KeyRejected
impl Display for KeyRejected
Source§impl Error for KeyRejected
impl Error for KeyRejected
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()
Auto Trait Implementations§
impl Freeze for KeyRejected
impl RefUnwindSafe for KeyRejected
impl Send for KeyRejected
impl Sync for KeyRejected
impl Unpin for KeyRejected
impl UnsafeUnpin for KeyRejected
impl UnwindSafe for KeyRejected
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