pub enum CommandArg {
Str(&'static str),
String(String),
Binary(Vec<u8>),
Integer(i64),
F32(f32),
F64(f64),
Nil,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CommandArg
impl Clone for CommandArg
Source§fn clone(&self) -> CommandArg
fn clone(&self) -> CommandArg
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 CommandArg
impl Debug for CommandArg
Source§impl From<&'static str> for CommandArg
impl From<&'static str> for CommandArg
Source§impl From<BulkString> for CommandArg
impl From<BulkString> for CommandArg
Source§fn from(bs: BulkString) -> Self
fn from(bs: BulkString) -> Self
Converts to this type from the input type.
Source§impl From<CommandArg> for Result<String>
impl From<CommandArg> for Result<String>
Source§fn from(bs: CommandArg) -> Self
fn from(bs: CommandArg) -> Self
Converts to this type from the input type.
Source§impl From<InfoSection> for CommandArg
impl From<InfoSection> for CommandArg
Source§fn from(s: InfoSection) -> Self
fn from(s: InfoSection) -> Self
Converts to this type from the input type.
Source§impl From<LatencyHistoryEvent> for CommandArg
impl From<LatencyHistoryEvent> for CommandArg
Source§fn from(e: LatencyHistoryEvent) -> Self
fn from(e: LatencyHistoryEvent) -> Self
Converts to this type from the input type.
Source§impl From<String> for CommandArg
impl From<String> for CommandArg
Source§impl From<char> for CommandArg
impl From<char> for CommandArg
Source§impl From<f32> for CommandArg
impl From<f32> for CommandArg
Source§impl From<f64> for CommandArg
impl From<f64> for CommandArg
Source§impl From<i16> for CommandArg
impl From<i16> for CommandArg
Source§impl From<i32> for CommandArg
impl From<i32> for CommandArg
Source§impl From<i64> for CommandArg
impl From<i64> for CommandArg
Source§impl From<isize> for CommandArg
impl From<isize> for CommandArg
Source§impl From<u16> for CommandArg
impl From<u16> for CommandArg
Source§impl From<u32> for CommandArg
impl From<u32> for CommandArg
Source§impl From<u64> for CommandArg
impl From<u64> for CommandArg
Source§impl From<usize> for CommandArg
impl From<usize> for CommandArg
Source§impl PartialEq<&str> for CommandArg
impl PartialEq<&str> for CommandArg
Source§impl PartialEq<String> for CommandArg
impl PartialEq<String> for CommandArg
Source§impl PartialEq for CommandArg
impl PartialEq for CommandArg
Source§impl ToString for CommandArg
impl ToString for CommandArg
impl StructuralPartialEq for CommandArg
Auto Trait Implementations§
impl Freeze for CommandArg
impl RefUnwindSafe for CommandArg
impl Send for CommandArg
impl Sync for CommandArg
impl Unpin for CommandArg
impl UnwindSafe for CommandArg
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