Enum atsamd_hal::pukcc::PukclReturnCode
source · [−]pub enum PukclReturnCode {
Ok,
Info(PukclReturnCodeInfo),
Warning(PukclReturnCodeWarning),
Severe(PukclReturnCodeSevere),
Unknown {
code: u16,
},
}
Expand description
An enum type that is a human readable representation of a low-level
c_abi::PukclReturnCode
type. Useful when used together with a Debug
traits and formatters.
Variants
Ok
Info(PukclReturnCodeInfo)
Warning(PukclReturnCodeWarning)
Severe(PukclReturnCodeSevere)
Unknown
Fields
code: u16
Trait Implementations
sourceimpl Clone for PukclReturnCode
impl Clone for PukclReturnCode
sourcefn clone(&self) -> PukclReturnCode
fn clone(&self) -> PukclReturnCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PukclReturnCode
impl Debug for PukclReturnCode
sourceimpl From<PukclReturnCode> for PukclReturnCode
impl From<PukclReturnCode> for PukclReturnCode
sourcefn from(v: PukclReturnCode) -> Self
fn from(v: PukclReturnCode) -> Self
Converts to this type from the input type.
sourceimpl From<PukclReturnCode> for PukclReturnCode
impl From<PukclReturnCode> for PukclReturnCode
sourcefn from(v: PukclReturnCode) -> Self
fn from(v: PukclReturnCode) -> Self
Converts to this type from the input type.
impl Copy for PukclReturnCode
Auto Trait Implementations
impl RefUnwindSafe for PukclReturnCode
impl Send for PukclReturnCode
impl Sync for PukclReturnCode
impl Unpin for PukclReturnCode
impl UnwindSafe for PukclReturnCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more