pub enum InterceptionPhase {
Outbound,
Inbound,
}Variants§
Implementations§
Source§impl InterceptionPhase
impl InterceptionPhase
pub fn is_outbound(self) -> bool
pub fn is_inbound(self) -> bool
Trait Implementations§
Source§impl Clone for InterceptionPhase
impl Clone for InterceptionPhase
Source§fn clone(&self) -> InterceptionPhase
fn clone(&self) -> InterceptionPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InterceptionPhase
impl Debug for InterceptionPhase
Source§impl<'de> Deserialize<'de> for InterceptionPhase
impl<'de> Deserialize<'de> for InterceptionPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InterceptionPhase
impl Display for InterceptionPhase
Source§impl Hash for InterceptionPhase
impl Hash for InterceptionPhase
Source§impl PartialEq for InterceptionPhase
impl PartialEq for InterceptionPhase
Source§fn eq(&self, other: &InterceptionPhase) -> bool
fn eq(&self, other: &InterceptionPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InterceptionPhase
impl Serialize for InterceptionPhase
impl Copy for InterceptionPhase
impl Eq for InterceptionPhase
impl StructuralPartialEq for InterceptionPhase
Auto Trait Implementations§
impl Freeze for InterceptionPhase
impl RefUnwindSafe for InterceptionPhase
impl Send for InterceptionPhase
impl Sync for InterceptionPhase
impl Unpin for InterceptionPhase
impl UnsafeUnpin for InterceptionPhase
impl UnwindSafe for InterceptionPhase
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