Enum protos::sp_command::command::Command
source · #[non_exhaustive]pub enum Command {
AttachPipeline(AttachPipelineCommand),
DetachPipeline(DetachPipelineCommand),
PausePipeline(PausePipelineCommand),
ResumePipeline(ResumePipelineCommand),
KeepAlive(KeepAliveCommand),
Kv(KVCommand),
Tail(TailCommand),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AttachPipeline(AttachPipelineCommand)
DetachPipeline(DetachPipelineCommand)
PausePipeline(PausePipelineCommand)
ResumePipeline(ResumePipelineCommand)
KeepAlive(KeepAliveCommand)
Kv(KVCommand)
Tail(TailCommand)
Trait Implementations§
source§impl OneofFull for Command
impl OneofFull for Command
source§fn descriptor() -> OneofDescriptor
fn descriptor() -> OneofDescriptor
Descriptor object for this oneof.
source§impl PartialEq for Command
impl PartialEq for Command
impl Oneof for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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