pub struct Control<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Control<'a>
impl<'a> Control<'a>
pub async fn send_command<T>(&self, cmd: &T) -> Result<(), MacError>where
T: MacCommand,
pub async fn send_command_and_get_response<T>(
&self,
cmd: &T,
) -> Result<EventToken<'a>, MacError>where
T: MacCommand,
Auto Trait Implementations§
impl<'a> Freeze for Control<'a>
impl<'a> !RefUnwindSafe for Control<'a>
impl<'a> Send for Control<'a>
impl<'a> Sync for Control<'a>
impl<'a> Unpin for Control<'a>
impl<'a> !UnwindSafe for Control<'a>
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