pub enum MsOutput {
Str(String),
Milliseconds(i64),
}Variants§
Implementations§
Source§impl MsOutput
impl MsOutput
pub fn unwrap_str(self) -> String
pub fn unwrap_number(self) -> i64
Auto Trait Implementations§
impl Freeze for MsOutput
impl RefUnwindSafe for MsOutput
impl Send for MsOutput
impl Sync for MsOutput
impl Unpin for MsOutput
impl UnwindSafe for MsOutput
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