pub struct DecodeLevel {
pub application: AppDecodeLevel,
pub transport: TransportDecodeLevel,
pub link: LinkDecodeLevel,
pub physical: PhysDecodeLevel,
}Expand description
Controls the decoding of transmitted and received data at the application, transport, and link layer
Fields§
§application: AppDecodeLevelControls application layer decoding
transport: TransportDecodeLevelControls transport layer decoding
link: LinkDecodeLevelControls link layer decoding
physical: PhysDecodeLevelControls the logging of physical layer read/write
Implementations§
Source§impl DecodeLevel
impl DecodeLevel
Sourcepub fn new(
application: AppDecodeLevel,
transport: TransportDecodeLevel,
link: LinkDecodeLevel,
physical: PhysDecodeLevel,
) -> Self
pub fn new( application: AppDecodeLevel, transport: TransportDecodeLevel, link: LinkDecodeLevel, physical: PhysDecodeLevel, ) -> Self
construct a DecodeLevel from its fields
Trait Implementations§
Source§impl Clone for DecodeLevel
impl Clone for DecodeLevel
Source§fn clone(&self) -> DecodeLevel
fn clone(&self) -> DecodeLevel
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 moreimpl Copy for DecodeLevel
Source§impl Debug for DecodeLevel
impl Debug for DecodeLevel
Source§impl Default for DecodeLevel
impl Default for DecodeLevel
Source§fn default() -> DecodeLevel
fn default() -> DecodeLevel
Returns the “default value” for a type. Read more
impl Eq for DecodeLevel
Source§impl From<AppDecodeLevel> for DecodeLevel
impl From<AppDecodeLevel> for DecodeLevel
Source§fn from(application: AppDecodeLevel) -> Self
fn from(application: AppDecodeLevel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecodeLevel
impl PartialEq for DecodeLevel
impl StructuralPartialEq for DecodeLevel
Auto Trait Implementations§
impl Freeze for DecodeLevel
impl RefUnwindSafe for DecodeLevel
impl Send for DecodeLevel
impl Sync for DecodeLevel
impl Unpin for DecodeLevel
impl UnsafeUnpin for DecodeLevel
impl UnwindSafe for DecodeLevel
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