pub enum RouterItem {
Packet(Packet),
Packed(Arc<[u8]>),
}Variants§
Trait Implementations§
Source§impl Clone for RouterItem
impl Clone for RouterItem
Source§fn clone(&self) -> RouterItem
fn clone(&self) -> RouterItem
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 RouterItem
impl Debug for RouterItem
impl Eq for RouterItem
Source§impl PartialEq for RouterItem
impl PartialEq for RouterItem
Source§fn eq(&self, other: &RouterItem) -> bool
fn eq(&self, other: &RouterItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RouterItem
Auto Trait Implementations§
impl Freeze for RouterItem
impl RefUnwindSafe for RouterItem
impl Send for RouterItem
impl Sync for RouterItem
impl Unpin for RouterItem
impl UnsafeUnpin for RouterItem
impl UnwindSafe for RouterItem
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