pub enum HookReply {
Ack {
note: Option<String>,
},
FlowNext,
FlowStop {
reason: String,
},
BailNone,
BailDeny {
reason: String,
},
Err {
code: ReplyErrCode,
message: String,
},
}Expand description
A tier-0 handler’s answer, shaped by the §3.3 reply vocabulary. The
Err variant mirrors the ABI’s closed code set (§7.2): deadline and
crashed are self-declared unreachability, everything else is a
speech defect (§11.1).
Variants§
Trait Implementations§
impl Eq for HookReply
impl StructuralPartialEq for HookReply
Auto Trait Implementations§
impl Forget for HookReply
impl Freeze for HookReply
impl Move for HookReply
impl RefUnwindSafe for HookReply
impl Send for HookReplywhere
RawVecInner: Send,
impl Sync for HookReplywhere
RawVecInner: Sync,
impl Unpin for HookReply
impl UnsafeUnpin for HookReply
impl UnwindSafe for HookReplywhere
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