pub struct MasterActions;
Trait Implementations§
Source§impl Actions for MasterActions
impl Actions for MasterActions
async fn wait_us(&self, duration: u64)
async fn wait_ms(&self, duration: u64)
async fn get_cq(&self) -> PinState
async fn wake_up_pulse(&self, direction: WakeUpPulseDirection)
async fn port_power_on(&self)
async fn port_power_off(&self)
async fn await_event_with_timeout_ms<F, T>( &self, duration: u64, future: F, ) -> Option<T>
async fn await_ready_pulse_with_timeout_ms( &self, duration: u64, ) -> ReadyPulseResult
async fn exchange_data(&self, data: &[u8], answer: &mut [u8])
Source§impl Clone for MasterActions
impl Clone for MasterActions
Source§fn clone(&self) -> MasterActions
fn clone(&self) -> MasterActions
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 moreimpl Copy for MasterActions
Auto Trait Implementations§
impl Freeze for MasterActions
impl RefUnwindSafe for MasterActions
impl Send for MasterActions
impl Sync for MasterActions
impl Unpin for MasterActions
impl UnwindSafe for MasterActions
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