pub enum BlockState {
Stopped,
Running,
Fault,
Terminated,
}Expand description
Determines the state a block is in
Variants§
Trait Implementations§
Source§impl Clone for BlockState
impl Clone for BlockState
Source§fn clone(&self) -> BlockState
fn clone(&self) -> BlockState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockState
impl Debug for BlockState
Source§impl Default for BlockState
impl Default for BlockState
Source§fn default() -> BlockState
fn default() -> BlockState
Returns the “default value” for a type. Read more
Source§impl PartialEq for BlockState
impl PartialEq for BlockState
impl Copy for BlockState
impl StructuralPartialEq for BlockState
Auto Trait Implementations§
impl Freeze for BlockState
impl RefUnwindSafe for BlockState
impl Send for BlockState
impl Sync for BlockState
impl Unpin for BlockState
impl UnwindSafe for BlockState
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