Struct avr_tester::ComponentHandle
source · pub struct ComponentHandle { /* private fields */ }
Implementations§
source§impl ComponentHandle
impl ComponentHandle
sourcepub fn pause(&self)
pub fn pause(&self)
Pauses component until Self::resume()
is called.
sourcepub fn resume(&self)
pub fn resume(&self)
Resumes component paused through Self::pause()
.
sourcepub fn state(&self) -> ComponentState
pub fn state(&self) -> ComponentState
Returns component’s state.
Auto Trait Implementations§
impl !RefUnwindSafe for ComponentHandle
impl !Send for ComponentHandle
impl !Sync for ComponentHandle
impl Unpin for ComponentHandle
impl !UnwindSafe for ComponentHandle
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