pub enum StreamCommand {
Show 24 variants
Clear {
stream_id: String,
},
ClearAllStreams,
SetChannelScaling {
id: String,
channels: Vec<String>,
config: Value,
},
SetValue {
id: String,
value: UserValue,
},
ClearValues {
ids: Vec<String>,
},
ClearAllValues,
SetOutput(SetOutputCommand),
SetTestWorkflowState {
test_workflow_script_identifier: ScriptIdentifier,
state: TestWorkflowState,
},
SetTestWorkflowRecords {
test_workflow_script_identifier: ScriptIdentifier,
records: TestWorkflowRecords,
},
SetTestWorkflowFlags {
test_workflow_script_identifier: ScriptIdentifier,
can_submit: bool,
can_individual_rerun: bool,
can_rerun_full_workflow: bool,
can_run_before_full_workflow: bool,
},
ClearCreatedModels,
CreateModels {
configs: Vec<Value>,
},
SetLogFile {
script_identifier: ScriptIdentifier,
file_path: PathBuf,
},
SetImageFrame {
buffer_name: String,
timestamp: f64,
frame_width: usize,
data: ByteListOrBase64,
},
ClearImageFrameBuffer {
buffer_name: String,
},
PostPointCloud {
pointcloud_name: String,
timestamp: u64,
points: Vec<SamplePoint>,
},
ClearPointCloud {
pointcloud_name: String,
},
CreateLidarScan {
scan: LidarScan,
},
SetDropdownOptions {
id: String,
options: Vec<String>,
},
AddTimelineMilestone {
time: f64,
tooltip: Option<String>,
color: Option<String>,
},
SendNotification {
message: String,
level: String,
duration_seconds: Option<u64>,
},
DeviceStreamingError {
message: String,
error_code: Option<i32>,
device_driver: String,
device_id: String,
stopped: bool,
},
UpdatePaneVisibility {
id: Uuid,
action: PaneVisbilityAction,
},
RegisterCommand {
command_id: String,
command_alias: String,
description: Option<String>,
param_schema: Schema,
param_default: Value,
},
}Variants§
Clear
ClearAllStreams
SetChannelScaling
SetValue
ClearValues
ClearAllValues
SetOutput(SetOutputCommand)
SetTestWorkflowState
SetTestWorkflowRecords
SetTestWorkflowFlags
Fields
§
test_workflow_script_identifier: ScriptIdentifierClearCreatedModels
CreateModels
SetLogFile
SetImageFrame
ClearImageFrameBuffer
PostPointCloud
ClearPointCloud
CreateLidarScan
SetDropdownOptions
AddTimelineMilestone
SendNotification
DeviceStreamingError
Fields
UpdatePaneVisibility
RegisterCommand
Trait Implementations§
Source§impl Debug for StreamCommand
impl Debug for StreamCommand
Source§impl<'de> Deserialize<'de> for StreamCommand
impl<'de> Deserialize<'de> for StreamCommand
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 StreamCommand
impl !RefUnwindSafe for StreamCommand
impl Send for StreamCommand
impl Sync for StreamCommand
impl Unpin for StreamCommand
impl UnsafeUnpin for StreamCommand
impl !UnwindSafe for StreamCommand
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more