pub enum State {
Startup,
Listen,
EndListen,
Teardown,
}
Variants§
Startup
State of a controller immediately after it is created. Intended to initialize state on the controller.
Listen
State of a controller when at least one client is listening on changes to the setting state.
EndListen
State of a controller when there are no more clients listening on changes to the setting state.
Teardown
State of a controller when there are no requests or listeners on the setting type. Intended to tear down state before taking down the controller.
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)