Struct windows_sys::Devices::I2c::I2cTransferStatus
[−]#[repr(transparent)]pub struct I2cTransferStatus(pub i32);
Expand description
Required features: "Devices_I2c"
Tuple Fields
0: i32
Implementations
impl I2cTransferStatus
impl I2cTransferStatus
pub const FullTransfer: Self = Self(0i32)
pub const PartialTransfer: Self = Self(1i32)
pub const SlaveAddressNotAcknowledged: Self = Self(2i32)
pub const ClockStretchTimeout: Self = Self(3i32)
pub const UnknownError: Self = Self(4i32)
Trait Implementations
impl Clone for I2cTransferStatus
impl Clone for I2cTransferStatus
impl Copy for I2cTransferStatus
Auto Trait Implementations
impl RefUnwindSafe for I2cTransferStatus
impl Send for I2cTransferStatus
impl Sync for I2cTransferStatus
impl Unpin for I2cTransferStatus
impl UnwindSafe for I2cTransferStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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