[−][src]Enum kernel::ReturnCode
Standard return errors in Tock.
Variants
Success value must be positive
Operation completed successfully
Generic failure condition
Underlying system is busy; retry
The state requested is already set
The component is powered down
Reservation required before use
An invalid parameter was passed
Parameter passed was too large
Operation canceled by a call
Memory required not available
Operation or command is unsupported
Device does not exist
Device is not physically installed
Packet transmission not acknowledged
Trait Implementations
impl Clone for ReturnCode
[src]
pub fn clone(&self) -> ReturnCode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ReturnCode
[src]
impl Debug for ReturnCode
[src]
impl From<Error> for ReturnCode
[src]
pub fn from(err: Error) -> ReturnCode
[src]
impl From<ReturnCode> for isize
[src]
pub fn from(original: ReturnCode) -> isize
[src]
impl From<ReturnCode> for usize
[src]
pub fn from(original: ReturnCode) -> usize
[src]
impl PartialEq<ReturnCode> for ReturnCode
[src]
pub fn eq(&self, other: &ReturnCode) -> bool
[src]
pub fn ne(&self, other: &ReturnCode) -> bool
[src]
impl StructuralPartialEq for ReturnCode
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,