pub struct StateWatcher { /* private fields */ }Expand description
Values for StateWatcher.
Implementations§
Source§impl StateWatcher
impl StateWatcher
Sourcepub fn current(&self) -> SessionState
pub fn current(&self) -> SessionState
Performs the current operation.
Sourcepub async fn changed(&mut self) -> CameraResult<SessionState>
pub async fn changed(&mut self) -> CameraResult<SessionState>
Performs the changed operation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StateWatcher
impl RefUnwindSafe for StateWatcher
impl Send for StateWatcher
impl Sync for StateWatcher
impl Unpin for StateWatcher
impl UnsafeUnpin for StateWatcher
impl UnwindSafe for StateWatcher
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