pub struct OutOfMemory;Expand description
Out of memory error
Trait Implementations§
Source§impl Clone for OutOfMemory
impl Clone for OutOfMemory
Source§fn clone(&self) -> OutOfMemory
fn clone(&self) -> OutOfMemory
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 OutOfMemory
impl Debug for OutOfMemory
Source§impl Display for OutOfMemory
impl Display for OutOfMemory
Source§impl Error for OutOfMemory
impl Error for OutOfMemory
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<OutOfMemory> for Error
impl From<OutOfMemory> for Error
Source§fn from(_: OutOfMemory) -> Self
fn from(_: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl Hash for OutOfMemory
impl Hash for OutOfMemory
Source§impl Ord for OutOfMemory
impl Ord for OutOfMemory
Source§fn cmp(&self, other: &OutOfMemory) -> Ordering
fn cmp(&self, other: &OutOfMemory) -> 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 PartialEq for OutOfMemory
impl PartialEq for OutOfMemory
Source§impl PartialOrd for OutOfMemory
impl PartialOrd for OutOfMemory
impl Copy for OutOfMemory
impl Eq for OutOfMemory
impl StructuralPartialEq for OutOfMemory
Auto Trait Implementations§
impl Freeze for OutOfMemory
impl RefUnwindSafe for OutOfMemory
impl Send for OutOfMemory
impl Sync for OutOfMemory
impl Unpin for OutOfMemory
impl UnwindSafe for OutOfMemory
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