pub struct Ch1statErrorCode(/* private fields */);Implementations§
Source§impl Ch1statErrorCode
impl Ch1statErrorCode
Sourcepub const NEXT_CHAIN_IS_0: Self
pub const NEXT_CHAIN_IS_0: Self
Error is signalled because the next pointer is 0x00000000.
Sourcepub const NO_CHAIN: Self
pub const NO_CHAIN: Self
Error is signalled because the semaphore is of a non-zero value and neither of the chain bits is set.
Sourcepub const CONTEXT_ERROR: Self
pub const CONTEXT_ERROR: Self
Error is signalled because an error was reported when reading/writing the context buffer.
Sourcepub const PAYLOAD_ERROR: Self
pub const PAYLOAD_ERROR: Self
Error is signalled because an error was reported when reading/writing the payload.
Sourcepub const INVALID_MODE: Self
pub const INVALID_MODE: Self
Error is signalled because the control packet specifies an invalid mode select (for example, blit + hash).
Trait Implementations§
Source§impl Clone for Ch1statErrorCode
impl Clone for Ch1statErrorCode
Source§fn clone(&self) -> Ch1statErrorCode
fn clone(&self) -> Ch1statErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ch1statErrorCode
impl Debug for Ch1statErrorCode
Source§impl From<Ch1statErrorCode> for u8
impl From<Ch1statErrorCode> for u8
Source§fn from(val: Ch1statErrorCode) -> u8
fn from(val: Ch1statErrorCode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Ch1statErrorCode
impl From<u8> for Ch1statErrorCode
Source§fn from(val: u8) -> Ch1statErrorCode
fn from(val: u8) -> Ch1statErrorCode
Converts to this type from the input type.
Source§impl Ord for Ch1statErrorCode
impl Ord for Ch1statErrorCode
Source§fn cmp(&self, other: &Ch1statErrorCode) -> Ordering
fn cmp(&self, other: &Ch1statErrorCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Ch1statErrorCode
impl PartialEq for Ch1statErrorCode
Source§impl PartialOrd for Ch1statErrorCode
impl PartialOrd for Ch1statErrorCode
impl Copy for Ch1statErrorCode
impl Eq for Ch1statErrorCode
impl StructuralPartialEq for Ch1statErrorCode
Auto Trait Implementations§
impl Freeze for Ch1statErrorCode
impl RefUnwindSafe for Ch1statErrorCode
impl Send for Ch1statErrorCode
impl Sync for Ch1statErrorCode
impl Unpin for Ch1statErrorCode
impl UnwindSafe for Ch1statErrorCode
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