pub struct NullPointer;
Expand description
A null
pointer was encountered where it wasn’t expected.
Trait Implementations§
Source§impl Clone for NullPointer
impl Clone for NullPointer
Source§fn clone(&self) -> NullPointer
fn clone(&self) -> NullPointer
Returns a duplicate 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 NullPointer
impl Debug for NullPointer
Source§impl Display for NullPointer
impl Display for NullPointer
Source§impl Error for NullPointer
impl Error for NullPointer
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 PartialEq for NullPointer
impl PartialEq for NullPointer
impl Copy for NullPointer
impl StructuralPartialEq for NullPointer
Auto Trait Implementations§
impl Freeze for NullPointer
impl RefUnwindSafe for NullPointer
impl Send for NullPointer
impl Sync for NullPointer
impl Unpin for NullPointer
impl UnwindSafe for NullPointer
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