pub enum ControllerStatus {
Enabled,
Disabled(usize),
}Expand description
The status of a particular controller. In some situations it is useful to disable the controller and use static shares instead.
Variants§
Enabled
Controller Enabled. Shares are automatically determined
Disabled(usize)
Controller Disabled. The parameter of the enum item represents
Trait Implementations§
Source§impl Clone for ControllerStatus
impl Clone for ControllerStatus
Source§fn clone(&self) -> ControllerStatus
fn clone(&self) -> ControllerStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControllerStatus
Auto Trait Implementations§
impl Freeze for ControllerStatus
impl RefUnwindSafe for ControllerStatus
impl Send for ControllerStatus
impl Sync for ControllerStatus
impl Unpin for ControllerStatus
impl UnsafeUnpin for ControllerStatus
impl UnwindSafe for ControllerStatus
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