pub enum Verdict {
Forward,
Drop,
Replace(Vec<Frame>),
}Expand description
What the pipeline should do with a frame after a plugin saw it.
Variants§
Forward
pass it along unchanged (the overwhelmingly common case)
Drop
swallow it (e.g. replicator answering a viewer’s keepalive locally)
Replace(Vec<Frame>)
substitute different frame(s) (e.g. anonymize rewriting names)
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin 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