pub enum Request {
Hello(Hello),
Get([u8; 32]),
Put {
key: [u8; 32],
meta: PutMeta,
reply: Vec<u8>,
},
Stats,
Info,
}Expand description
A decoded request.
Variants§
Hello(Hello)
Identify the solver at this path.
Get([u8; 32])
Look up a key.
Put
Store a reply.
Stats
Report the daemon’s counters.
Info
Report the daemon’s configuration and state.
Implementations§
Trait Implementations§
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Forget for Request
impl Freeze for Request
impl Move for Request
impl RefUnwindSafe for Request
impl Send for Requestwhere
RawVecInner: Send,
impl Sync for Requestwhere
RawVecInner: Sync,
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Requestwhere
RawVecInner: UnwindSafe,
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