pub enum BusKind {
Adapter,
Simulated,
Scripted,
}Expand description
What answers on an I2cBus.
Variants§
Adapter
The kernel’s adapter, with real parts on real wires.
Simulated
Simulated parts, answering from their registers.
Scripted
A script of the transfers a driver is expected to make.
Trait Implementations§
impl Copy for BusKind
impl Eq for BusKind
impl StructuralPartialEq for BusKind
Auto Trait Implementations§
impl Freeze for BusKind
impl RefUnwindSafe for BusKind
impl Send for BusKind
impl Sync for BusKind
impl Unpin for BusKind
impl UnsafeUnpin for BusKind
impl UnwindSafe for BusKind
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