pub struct DrainError(/* private fields */);Trait Implementations§
Source§impl Debug for DrainError
impl Debug for DrainError
Source§impl Display for DrainError
impl Display for DrainError
Source§impl Error for DrainError
impl Error for DrainError
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 DrainError
impl !RefUnwindSafe for DrainError
impl Send for DrainError
impl Sync for DrainError
impl Unpin for DrainError
impl UnsafeUnpin for DrainError
impl !UnwindSafe for DrainError
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