pub enum SoftI2CError {
Address,
WriteData,
}
Expand description
Represents errors that can occur during I2C communication.
Variants§
Trait Implementations§
source§impl Clone for SoftI2CError
impl Clone for SoftI2CError
source§fn clone(&self) -> SoftI2CError
fn clone(&self) -> SoftI2CError
Returns a copy 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 SoftI2CError
impl Debug for SoftI2CError
source§impl Error for SoftI2CError
impl Error for SoftI2CError
source§impl PartialEq for SoftI2CError
impl PartialEq for SoftI2CError
impl Copy for SoftI2CError
impl Eq for SoftI2CError
impl StructuralPartialEq for SoftI2CError
Auto Trait Implementations§
impl Freeze for SoftI2CError
impl RefUnwindSafe for SoftI2CError
impl Send for SoftI2CError
impl Sync for SoftI2CError
impl Unpin for SoftI2CError
impl UnwindSafe for SoftI2CError
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)