Enum sozu_command_lib::command::CommandRequestData [−][src]
pub enum CommandRequestData {
Proxy(ProxyRequestData),
SaveState {
path: String,
},
LoadState {
path: String,
},
DumpState,
ListWorkers,
LaunchWorker(String),
UpgradeMain,
UpgradeWorker(u32),
SubscribeEvents,
ReloadConfiguration {
path: Option<String>,
},
}Variants
Proxy(ProxyRequestData)Show fields
Fields of SaveState
path: StringShow fields
Fields of LoadState
path: StringLaunchWorker(String)UpgradeWorker(u32)Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CommandRequestDataimpl Send for CommandRequestDataimpl Sync for CommandRequestDataimpl Unpin for CommandRequestDataimpl UnwindSafe for CommandRequestDataBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self