pub enum PacketDirection {
Forward,
Backward,
}Variants§
Implementations§
Source§impl PacketDirection
impl PacketDirection
pub fn into_reverse(self) -> PacketDirection
Trait Implementations§
Source§impl Clone for PacketDirection
impl Clone for PacketDirection
Source§fn clone(&self) -> PacketDirection
fn clone(&self) -> PacketDirection
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 PacketDirection
impl Debug for PacketDirection
Source§impl PartialEq for PacketDirection
impl PartialEq for PacketDirection
Source§impl Serialize for PacketDirection
impl Serialize for PacketDirection
impl Copy for PacketDirection
impl Eq for PacketDirection
impl StructuralPartialEq for PacketDirection
Auto Trait Implementations§
impl Freeze for PacketDirection
impl RefUnwindSafe for PacketDirection
impl Send for PacketDirection
impl Sync for PacketDirection
impl Unpin for PacketDirection
impl UnwindSafe for PacketDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.