pub struct InvalidMemoryLevel(pub u8);Expand description
Error returned for a memory level outside 1 to 9.
Tuple Fields§
§0: u8Trait Implementations§
Source§impl Clone for InvalidMemoryLevel
impl Clone for InvalidMemoryLevel
impl Copy for InvalidMemoryLevel
Source§impl Debug for InvalidMemoryLevel
impl Debug for InvalidMemoryLevel
Source§impl Display for InvalidMemoryLevel
impl Display for InvalidMemoryLevel
impl Eq for InvalidMemoryLevel
Source§impl Error for InvalidMemoryLevel
impl Error for InvalidMemoryLevel
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 InvalidMemoryLevel
impl PartialEq for InvalidMemoryLevel
impl StructuralPartialEq for InvalidMemoryLevel
Auto Trait Implementations§
impl Forget for InvalidMemoryLevel
impl Freeze for InvalidMemoryLevel
impl Move for InvalidMemoryLevel
impl RefUnwindSafe for InvalidMemoryLevel
impl Send for InvalidMemoryLevel
impl Sync for InvalidMemoryLevel
impl Unpin for InvalidMemoryLevel
impl UnsafeUnpin for InvalidMemoryLevel
impl UnwindSafe for InvalidMemoryLevel
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