pub enum RpcCommand {
Agent(AgentCommand),
Oino(OinoCommand),
}Expand description
Any command a backend accepts.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RpcCommand
impl Clone for RpcCommand
Source§impl Debug for RpcCommand
impl Debug for RpcCommand
Source§impl<'de> Deserialize<'de> for RpcCommand
impl<'de> Deserialize<'de> for RpcCommand
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
Source§impl From<AgentCommand> for RpcCommand
impl From<AgentCommand> for RpcCommand
Source§fn from(command: AgentCommand) -> Self
fn from(command: AgentCommand) -> Self
Converts to this type from the input type.
Source§impl From<OinoCommand> for RpcCommand
impl From<OinoCommand> for RpcCommand
Source§fn from(command: OinoCommand) -> Self
fn from(command: OinoCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RpcCommand
impl PartialEq for RpcCommand
Source§impl Serialize for RpcCommand
impl Serialize for RpcCommand
impl StructuralPartialEq for RpcCommand
Auto Trait Implementations§
impl Freeze for RpcCommand
impl RefUnwindSafe for RpcCommand
impl Send for RpcCommand
impl Sync for RpcCommand
impl Unpin for RpcCommand
impl UnsafeUnpin for RpcCommand
impl UnwindSafe for RpcCommand
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