pub enum SemError {
WouldBlock,
TimedOut,
Interrupted,
AlreadyExists,
NotFound,
InvalidInput,
InteriorNul,
Other(i32),
}Variants§
Implementations§
Source§impl SemError
impl SemError
pub const fn raw_os_error(self) -> i32
pub fn description(self) -> String
Trait Implementations§
impl Copy for SemError
impl Eq for SemError
impl StructuralPartialEq for SemError
Auto Trait Implementations§
impl Freeze for SemError
impl RefUnwindSafe for SemError
impl Send for SemError
impl Sync for SemError
impl Unpin for SemError
impl UnsafeUnpin for SemError
impl UnwindSafe for SemError
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