pub struct PassthroughRelayPolicy;Trait Implementations§
Source§impl Clone for PassthroughRelayPolicy
impl Clone for PassthroughRelayPolicy
Source§fn clone(&self) -> PassthroughRelayPolicy
fn clone(&self) -> PassthroughRelayPolicy
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 PassthroughRelayPolicy
impl Debug for PassthroughRelayPolicy
Source§impl Default for PassthroughRelayPolicy
impl Default for PassthroughRelayPolicy
Source§fn default() -> PassthroughRelayPolicy
fn default() -> PassthroughRelayPolicy
Returns the “default value” for a type. Read more
Source§impl RelayPolicy for PassthroughRelayPolicy
impl RelayPolicy for PassthroughRelayPolicy
fn decide(&self, direction: RelayDirection, payload: &Bytes) -> RelayDecision
impl Copy for PassthroughRelayPolicy
Auto Trait Implementations§
impl Freeze for PassthroughRelayPolicy
impl RefUnwindSafe for PassthroughRelayPolicy
impl Send for PassthroughRelayPolicy
impl Sync for PassthroughRelayPolicy
impl Unpin for PassthroughRelayPolicy
impl UnsafeUnpin for PassthroughRelayPolicy
impl UnwindSafe for PassthroughRelayPolicy
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