pub enum TimeoutValue {
Int(u64),
Expansion(String),
}Variants§
Trait Implementations§
Source§impl Clone for TimeoutValue
impl Clone for TimeoutValue
Source§fn clone(&self) -> TimeoutValue
fn clone(&self) -> TimeoutValue
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 TimeoutValue
impl Debug for TimeoutValue
Source§impl<'de> Deserialize<'de> for TimeoutValue
impl<'de> Deserialize<'de> for TimeoutValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for TimeoutValue
impl From<&str> for TimeoutValue
Source§fn from(item: &str) -> TimeoutValue
fn from(item: &str) -> TimeoutValue
Converts to this type from the input type.
Source§impl From<u64> for TimeoutValue
impl From<u64> for TimeoutValue
Source§fn from(item: u64) -> TimeoutValue
fn from(item: u64) -> TimeoutValue
Converts to this type from the input type.
Source§impl PartialEq for TimeoutValue
impl PartialEq for TimeoutValue
Source§impl Serialize for TimeoutValue
impl Serialize for TimeoutValue
impl StructuralPartialEq for TimeoutValue
Auto Trait Implementations§
impl Freeze for TimeoutValue
impl RefUnwindSafe for TimeoutValue
impl Send for TimeoutValue
impl Sync for TimeoutValue
impl Unpin for TimeoutValue
impl UnwindSafe for TimeoutValue
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