pub enum LevelError {
BadLevel,
NoLock,
}Expand description
Why a level could not be set up.
Variants§
BadLevel
More levels than MAX_LEVELS, or a level past the count.
NoLock
The port’s mutex was NULL or would not initialise.
Trait Implementations§
Source§impl Clone for LevelError
impl Clone for LevelError
Source§fn clone(&self) -> LevelError
fn clone(&self) -> LevelError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LevelError
Source§impl Debug for LevelError
impl Debug for LevelError
impl Eq for LevelError
Source§impl PartialEq for LevelError
impl PartialEq for LevelError
impl StructuralPartialEq for LevelError
Auto Trait Implementations§
impl Freeze for LevelError
impl RefUnwindSafe for LevelError
impl Send for LevelError
impl Sync for LevelError
impl Unpin for LevelError
impl UnsafeUnpin for LevelError
impl UnwindSafe for LevelError
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