enum Verdict {
Forward,
Drop,
Closed,
}Expand description
What the caller of handle_violations should do with the delivery.
Variants§
Forward
No violations, or Warn mode: forward the payload as usual.
Drop
Reject mode found violations: the caller should drop this delivery
(continue its loop) after the error has already been sent.
Closed
The client’s channel is closed: the caller should stop the forwarder.
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnwindSafe for Verdict
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