#[repr(u8)]pub enum BusState {
Created = 0,
Starting = 1,
Running = 2,
Stopping = 3,
Stopped = 4,
}Expand description
State of the stdio_bus instance
Variants§
Created = 0
Created but not started
Starting = 1
Workers being spawned
Running = 2
Running and accepting messages
Stopping = 3
Graceful shutdown in progress
Stopped = 4
Fully stopped
Implementations§
Trait Implementations§
impl Copy for BusState
impl Eq for BusState
impl StructuralPartialEq for BusState
Auto Trait Implementations§
impl Freeze for BusState
impl RefUnwindSafe for BusState
impl Send for BusState
impl Sync for BusState
impl Unpin for BusState
impl UnsafeUnpin for BusState
impl UnwindSafe for BusState
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