Enum nt::EntryValue [−][src]
pub enum EntryValue { Boolean(bool), Double(f64), String(String), RawData(Vec<u8>), BooleanArray(Vec<bool>), DoubleArray(Vec<f64>), StringArray(Vec<String>), RPCDef(RPCDefinitionData), }
Enum representing the different values that NetworkTables supports
Variants
Boolean(bool)
An entry value containing a single boolean
Double(f64)
An entry value containing a single double
String(String)
An entry value containing a single string
RawData(Vec<u8>)
An entry value containing raw data
BooleanArray(Vec<bool>)
An entry value containing a boolean array
DoubleArray(Vec<f64>)
An entry value containing a double array
StringArray(Vec<String>)
An entry value containing a string array
RPCDef(RPCDefinitionData)
An entry value containing definition data for a RPC
Methods
impl EntryValue
[src]
impl EntryValue
pub fn entry_type(&self) -> EntryType
[src]
pub fn entry_type(&self) -> EntryType
Returns the EntryType
corresponding to the variant of [self
]
Trait Implementations
impl Debug for EntryValue
[src]
impl Debug for EntryValue
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for EntryValue
[src]
impl Clone for EntryValue
fn clone(&self) -> EntryValue
[src]
fn clone(&self) -> EntryValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for EntryValue
[src]
impl PartialEq for EntryValue
fn eq(&self, other: &EntryValue) -> bool
[src]
fn eq(&self, other: &EntryValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &EntryValue) -> bool
[src]
fn ne(&self, other: &EntryValue) -> bool
This method tests for !=
.
impl ClientMessage for EntryValue
[src]
impl ClientMessage for EntryValue
Auto Trait Implementations
impl Send for EntryValue
impl Send for EntryValue
impl Sync for EntryValue
impl Sync for EntryValue