pub enum CtlRequest {
Boundary {
note: Option<String>,
reply: Sender<Value>,
},
Sync {
reply: Sender<Value>,
},
Status {
reply: Sender<Value>,
},
}Expand description
What the socket asks the run loop to do.
Variants§
Boundary
Honor a boundary now (subject to min-interval and budget).
Sync
Run the sync verb. Unlike the GATEWAY’s sync request — which is carried, never performed (D14) — this one executes, because the caller is inside the pod: it is the agent asking for its own tree to be updated, which is the agent’s own decision to make.
Status
The same report flint-sync status renders.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CtlRequest
impl !UnwindSafe for CtlRequest
impl Freeze for CtlRequest
impl Send for CtlRequest
impl Sync for CtlRequest
impl Unpin for CtlRequest
impl UnsafeUnpin for CtlRequest
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