#[non_exhaustive]pub enum BusOp {
ResetAll,
ResetCommandLine,
ResetDataLine,
PowerOn,
PowerOff,
SetClock(ClockSpeed),
SetClockHz(ClockHz),
SetBusWidth(BusWidth),
SetSignalVoltage(SignalVoltage),
ExecuteTuning {
command: Command,
block_size: NonZeroU16,
},
}Expand description
Non-data bus operation that may itself need asynchronous completion.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ResetAll
ResetCommandLine
ResetDataLine
PowerOn
PowerOff
SetClock(ClockSpeed)
SetClockHz(ClockHz)
SetBusWidth(BusWidth)
SetSignalVoltage(SignalVoltage)
ExecuteTuning
Trait Implementations§
impl Copy for BusOp
impl Eq for BusOp
impl StructuralPartialEq for BusOp
Auto Trait Implementations§
impl Freeze for BusOp
impl RefUnwindSafe for BusOp
impl Send for BusOp
impl Sync for BusOp
impl Unpin for BusOp
impl UnsafeUnpin for BusOp
impl UnwindSafe for BusOp
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