#[repr(u8)]pub enum ConstantCurrentTimeoutValue {
Hours7 = 0,
Hours8 = 1,
Hours9 = 2,
Hours10 = 3,
}
Variants§
Hours7 = 0
7 hours timeout.
Hours8 = 1
8 hours timeout.
Hours9 = 2
9 hours timeout.
Hours10 = 3
10 hours timeout.
Trait Implementations§
Source§impl Clone for ConstantCurrentTimeoutValue
impl Clone for ConstantCurrentTimeoutValue
Source§fn clone(&self) -> ConstantCurrentTimeoutValue
fn clone(&self) -> ConstantCurrentTimeoutValue
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 ConstantCurrentTimeoutValue
impl Debug for ConstantCurrentTimeoutValue
Source§impl From<ConstantCurrentTimeoutValue> for u8
impl From<ConstantCurrentTimeoutValue> for u8
Source§fn from(val: ConstantCurrentTimeoutValue) -> Self
fn from(val: ConstantCurrentTimeoutValue) -> Self
Converts to this type from the input type.
Source§impl Hash for ConstantCurrentTimeoutValue
impl Hash for ConstantCurrentTimeoutValue
Source§impl TryFrom<u8> for ConstantCurrentTimeoutValue
impl TryFrom<u8> for ConstantCurrentTimeoutValue
impl Copy for ConstantCurrentTimeoutValue
impl Eq for ConstantCurrentTimeoutValue
impl StructuralPartialEq for ConstantCurrentTimeoutValue
Auto Trait Implementations§
impl Freeze for ConstantCurrentTimeoutValue
impl RefUnwindSafe for ConstantCurrentTimeoutValue
impl Send for ConstantCurrentTimeoutValue
impl Sync for ConstantCurrentTimeoutValue
impl Unpin for ConstantCurrentTimeoutValue
impl UnwindSafe for ConstantCurrentTimeoutValue
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