pub enum I2cTransferError {
Denied {
denial: Denial,
audit_seq: u64,
},
Backend {
error: BackendError,
audit_seq: u64,
},
}Expand description
Why an I2C transfer did not complete.
Variants§
Trait Implementations§
Source§impl Clone for I2cTransferError
impl Clone for I2cTransferError
impl Copy for I2cTransferError
Source§impl Debug for I2cTransferError
impl Debug for I2cTransferError
impl Eq for I2cTransferError
Source§impl PartialEq for I2cTransferError
impl PartialEq for I2cTransferError
impl StructuralPartialEq for I2cTransferError
Auto Trait Implementations§
impl Freeze for I2cTransferError
impl RefUnwindSafe for I2cTransferError
impl Send for I2cTransferError
impl Sync for I2cTransferError
impl Unpin for I2cTransferError
impl UnsafeUnpin for I2cTransferError
impl UnwindSafe for I2cTransferError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.