pub enum RtError {
Error,
TimeOut,
Full,
Empty,
NoMem,
NoSys,
Busy,
IO,
Intr,
Inval,
Unknown,
}
Expand description
RT-Thread error code definitions
Variants§
Error
A generic error happens
TimeOut
Timed out
Full
The resource is full
Empty
The resource is empty
NoMem
No memory
NoSys
No system
Busy
Busy
IO
IO error
Intr
Interrupted system call
Inval
Invalid argument
Unknown
Unknown error
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RtError
impl RefUnwindSafe for RtError
impl Send for RtError
impl Sync for RtError
impl Unpin for RtError
impl UnwindSafe for RtError
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