Struct shred::cell::InvalidBorrow
source · [−]pub struct InvalidBorrow;
Expand description
Marker struct for an invalid borrow error
Trait Implementations
sourceimpl Clone for InvalidBorrow
impl Clone for InvalidBorrow
sourcefn clone(&self) -> InvalidBorrow
fn clone(&self) -> InvalidBorrow
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InvalidBorrow
impl Debug for InvalidBorrow
sourceimpl Display for InvalidBorrow
impl Display for InvalidBorrow
sourceimpl Error for InvalidBorrow
impl Error for InvalidBorrow
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
sourceimpl Hash for InvalidBorrow
impl Hash for InvalidBorrow
sourceimpl Ord for InvalidBorrow
impl Ord for InvalidBorrow
sourceimpl PartialEq<InvalidBorrow> for InvalidBorrow
impl PartialEq<InvalidBorrow> for InvalidBorrow
sourceimpl PartialOrd<InvalidBorrow> for InvalidBorrow
impl PartialOrd<InvalidBorrow> for InvalidBorrow
sourcefn partial_cmp(&self, other: &InvalidBorrow) -> Option<Ordering>
fn partial_cmp(&self, other: &InvalidBorrow) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for InvalidBorrow
impl Eq for InvalidBorrow
impl StructuralEq for InvalidBorrow
impl StructuralPartialEq for InvalidBorrow
Auto Trait Implementations
impl RefUnwindSafe for InvalidBorrow
impl Send for InvalidBorrow
impl Sync for InvalidBorrow
impl Unpin for InvalidBorrow
impl UnwindSafe for InvalidBorrow
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more