pub enum RelayDecision {
Forward(Bytes),
Drop,
Disconnect {
reason: &'static str,
},
}Variants§
Trait Implementations§
Source§impl Clone for RelayDecision
impl Clone for RelayDecision
Source§fn clone(&self) -> RelayDecision
fn clone(&self) -> RelayDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RelayDecision
impl Debug for RelayDecision
Source§impl PartialEq for RelayDecision
impl PartialEq for RelayDecision
impl Eq for RelayDecision
impl StructuralPartialEq for RelayDecision
Auto Trait Implementations§
impl !Freeze for RelayDecision
impl RefUnwindSafe for RelayDecision
impl Send for RelayDecision
impl Sync for RelayDecision
impl Unpin for RelayDecision
impl UnsafeUnpin for RelayDecision
impl UnwindSafe for RelayDecision
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