#[repr(u32)]pub enum SmbusTransaction {
Quick = 0,
Byte = 1,
ByteData = 2,
WordData = 3,
ProcCall = 4,
BlockData = 5,
I2cBlockBroken = 6,
BlockProcCall = 7,
I2cBlockData = 8,
}
Expand description
SMBus transaction types (size parameter in the above functions)
Note: these no longer correspond to the (arbitrary) PIIX4 internal codes!
Variants§
Quick = 0
Byte = 1
ByteData = 2
WordData = 3
ProcCall = 4
BlockData = 5
I2cBlockBroken = 6
BlockProcCall = 7
SMBus 2.0
I2cBlockData = 8
Trait Implementations§
Source§impl Clone for SmbusTransaction
impl Clone for SmbusTransaction
Source§fn clone(&self) -> SmbusTransaction
fn clone(&self) -> SmbusTransaction
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 SmbusTransaction
impl Debug for SmbusTransaction
Source§impl Hash for SmbusTransaction
impl Hash for SmbusTransaction
Source§impl Ord for SmbusTransaction
impl Ord for SmbusTransaction
Source§fn cmp(&self, other: &SmbusTransaction) -> Ordering
fn cmp(&self, other: &SmbusTransaction) -> 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 SmbusTransaction
impl PartialEq for SmbusTransaction
Source§impl PartialOrd for SmbusTransaction
impl PartialOrd for SmbusTransaction
impl Copy for SmbusTransaction
impl Eq for SmbusTransaction
impl StructuralPartialEq for SmbusTransaction
Auto Trait Implementations§
impl Freeze for SmbusTransaction
impl RefUnwindSafe for SmbusTransaction
impl Send for SmbusTransaction
impl Sync for SmbusTransaction
impl Unpin for SmbusTransaction
impl UnwindSafe for SmbusTransaction
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