pub enum Layer {
L2,
L3,
}
Expand description
TUN interface OSI layer of operation.
Variants§
Trait Implementations§
source§impl PartialEq for Layer
impl PartialEq for Layer
impl Copy for Layer
impl Eq for Layer
impl StructuralEq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
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