#[non_exhaustive]pub struct TooLargeBufferRequiredError;
Expand description
Error that occurs if an entry is unreasonably large
If a password or group entry is too large for the system’s address space, this error will be returned.
(When the source
of an io::Error
, ErrorKind
is OutOfMemory
.)
Trait Implementations§
Source§impl Clone for TooLargeBufferRequiredError
impl Clone for TooLargeBufferRequiredError
Source§fn clone(&self) -> TooLargeBufferRequiredError
fn clone(&self) -> TooLargeBufferRequiredError
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 TooLargeBufferRequiredError
impl Debug for TooLargeBufferRequiredError
Source§impl Error for TooLargeBufferRequiredError
impl Error for TooLargeBufferRequiredError
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<TooLargeBufferRequiredError> for Error
impl From<TooLargeBufferRequiredError> for Error
Source§fn from(us: TooLargeBufferRequiredError) -> Error
fn from(us: TooLargeBufferRequiredError) -> Error
Converts to this type from the input type.
Source§impl Hash for TooLargeBufferRequiredError
impl Hash for TooLargeBufferRequiredError
Source§impl Ord for TooLargeBufferRequiredError
impl Ord for TooLargeBufferRequiredError
Source§fn cmp(&self, other: &TooLargeBufferRequiredError) -> Ordering
fn cmp(&self, other: &TooLargeBufferRequiredError) -> 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 TooLargeBufferRequiredError
impl PartialOrd for TooLargeBufferRequiredError
impl Eq for TooLargeBufferRequiredError
impl StructuralPartialEq for TooLargeBufferRequiredError
Auto Trait Implementations§
impl Freeze for TooLargeBufferRequiredError
impl RefUnwindSafe for TooLargeBufferRequiredError
impl Send for TooLargeBufferRequiredError
impl Sync for TooLargeBufferRequiredError
impl Unpin for TooLargeBufferRequiredError
impl UnwindSafe for TooLargeBufferRequiredError
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