#[non_exhaustive]pub struct UnexpectedNullPointerError;
Expand description
Error that occurs if getpw*_r
or getgr*_r
return unexpected NULL
s
This should not occur. (But it doesn’t seem to be entirely explicitly ruled out by the spec.)
(When the source
of an io::Error
, ErrorKind
is Other
.)
Trait Implementations§
Source§impl Clone for UnexpectedNullPointerError
impl Clone for UnexpectedNullPointerError
Source§fn clone(&self) -> UnexpectedNullPointerError
fn clone(&self) -> UnexpectedNullPointerError
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 UnexpectedNullPointerError
impl Debug for UnexpectedNullPointerError
Source§impl Display for UnexpectedNullPointerError
impl Display for UnexpectedNullPointerError
Source§impl Error for UnexpectedNullPointerError
impl Error for UnexpectedNullPointerError
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<UnexpectedNullPointerError> for Error
impl From<UnexpectedNullPointerError> for Error
Source§fn from(us: UnexpectedNullPointerError) -> Error
fn from(us: UnexpectedNullPointerError) -> Error
Converts to this type from the input type.
Source§impl Hash for UnexpectedNullPointerError
impl Hash for UnexpectedNullPointerError
Source§impl Ord for UnexpectedNullPointerError
impl Ord for UnexpectedNullPointerError
Source§fn cmp(&self, other: &UnexpectedNullPointerError) -> Ordering
fn cmp(&self, other: &UnexpectedNullPointerError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for UnexpectedNullPointerError
impl PartialOrd for UnexpectedNullPointerError
impl Eq for UnexpectedNullPointerError
impl StructuralPartialEq for UnexpectedNullPointerError
Auto Trait Implementations§
impl Freeze for UnexpectedNullPointerError
impl RefUnwindSafe for UnexpectedNullPointerError
impl Send for UnexpectedNullPointerError
impl Sync for UnexpectedNullPointerError
impl Unpin for UnexpectedNullPointerError
impl UnwindSafe for UnexpectedNullPointerError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes