#[repr(u8)]pub enum OutputControlCode {
Nop = 0,
PermanentOffAbortTimed = 1,
PermanentOnAbortTimed = 2,
PermanentOffAllowTimed = 3,
PermanentOnAllowTimed = 4,
TemporaryOnResume = 5,
TemporaryOffResume = 6,
}Expand description
Output control codes — Table 14.
Variants§
Nop = 0
PermanentOffAbortTimed = 1
PermanentOnAbortTimed = 2
PermanentOffAllowTimed = 3
PermanentOnAllowTimed = 4
TemporaryOnResume = 5
TemporaryOffResume = 6
Implementations§
Trait Implementations§
Source§impl Clone for OutputControlCode
impl Clone for OutputControlCode
Source§fn clone(&self) -> OutputControlCode
fn clone(&self) -> OutputControlCode
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 OutputControlCode
impl Debug for OutputControlCode
Source§impl Hash for OutputControlCode
impl Hash for OutputControlCode
Source§impl PartialEq for OutputControlCode
impl PartialEq for OutputControlCode
impl Copy for OutputControlCode
impl Eq for OutputControlCode
impl StructuralPartialEq for OutputControlCode
Auto Trait Implementations§
impl Freeze for OutputControlCode
impl RefUnwindSafe for OutputControlCode
impl Send for OutputControlCode
impl Sync for OutputControlCode
impl Unpin for OutputControlCode
impl UnsafeUnpin for OutputControlCode
impl UnwindSafe for OutputControlCode
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