pub enum Request {
Show 22 variants
Put {
key: String,
value: String,
},
Get {
key: String,
},
Del {
key: String,
},
Send {
from: Option<String>,
recipient: String,
message: String,
},
Cron {
schedule: String,
message: String,
},
Poll {
recipient: String,
},
PollCron,
List {
path: String,
},
Ack {
id_or_path: String,
},
Flush,
Ping,
Shutdown,
TickStart {
label: String,
},
TickEnd,
TickStatus,
TickLock {
key: String,
},
TickUnlock {
key: String,
},
Event {
payload: String,
ttl: Option<u64>,
},
AgentMessage {
from: String,
to: String,
payload: String,
},
WebStatus,
WebList,
WebRm {
name: String,
},
}Variants§
Put
Get
Del
Send
Cron
Poll
PollCron
List
Ack
Flush
Ping
Shutdown
TickStart
TickEnd
TickStatus
TickLock
TickUnlock
Event
Fields
AgentMessage
WebStatus
Report HTTP base URL / port for the www server.
WebList
List published temp files.
WebRm
Remove a published temp file by name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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 Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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