pub enum InstanceAction {
Show 24 variants
Ping,
Load {
load_spec: LoadSpec,
},
Info,
Signals,
Reset,
Get {
selectors: Vec<String>,
},
Sample {
selectors: Vec<String>,
},
Set {
writes: BTreeMap<String, String>,
},
TimeStart,
TimePause,
TimeStep {
duration: String,
},
TimeSpeed {
multiplier: Option<f64>,
},
TimeStatus,
CanBuses,
CanAttach {
bus_name: String,
vcan_iface: String,
},
CanDetach {
bus_name: String,
},
CanLoadDbc {
bus_name: String,
path: String,
},
SharedList,
SharedAttach {
channel_name: String,
path: String,
writer: bool,
writer_session: String,
},
SharedGet {
channel_name: String,
},
CanSend {
bus_name: String,
arb_id: u32,
data_hex: String,
flags: Option<u8>,
},
InstanceStatus,
InstanceList,
Close,
}Variants§
Ping
Load
Info
Signals
Reset
Get
Sample
Set
TimeStart
TimePause
TimeStep
TimeSpeed
TimeStatus
CanBuses
CanAttach
CanDetach
CanLoadDbc
CanSend
InstanceStatus
InstanceList
Close
Trait Implementations§
Source§impl Clone for InstanceAction
impl Clone for InstanceAction
Source§fn clone(&self) -> InstanceAction
fn clone(&self) -> InstanceAction
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 InstanceAction
impl Debug for InstanceAction
Source§impl<'de> Deserialize<'de> for InstanceAction
impl<'de> Deserialize<'de> for InstanceAction
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
Auto Trait Implementations§
impl Freeze for InstanceAction
impl RefUnwindSafe for InstanceAction
impl Send for InstanceAction
impl Sync for InstanceAction
impl Unpin for InstanceAction
impl UnsafeUnpin for InstanceAction
impl UnwindSafe for InstanceAction
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