pub struct ConsumedError;
Expand description
This error indicates that the internal value has been consumed, i.e., its ownership has been moved out.
Trait Implementations§
Source§impl Debug for ConsumedError
impl Debug for ConsumedError
Source§impl Display for ConsumedError
impl Display for ConsumedError
Source§impl Error for ConsumedError
impl Error for ConsumedError
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<ConsumedError> for PyErr
impl From<ConsumedError> for PyErr
Source§fn from(_: ConsumedError) -> Self
fn from(_: ConsumedError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConsumedError
impl RefUnwindSafe for ConsumedError
impl Send for ConsumedError
impl Sync for ConsumedError
impl Unpin for ConsumedError
impl UnwindSafe for ConsumedError
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