Enum rodbus::PhysDecodeLevel
source · pub enum PhysDecodeLevel {
Nothing,
Length,
Data,
}Expand description
Controls how data transmitted at the physical layer (TCP, serial, etc) is logged
Variants§
Nothing
Log nothing
Length
Log only the length of data that is sent and received
Data
Log the length and the actual data that is sent and received
Trait Implementations§
source§impl Clone for PhysDecodeLevel
impl Clone for PhysDecodeLevel
source§fn clone(&self) -> PhysDecodeLevel
fn clone(&self) -> PhysDecodeLevel
Returns a copy 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 PhysDecodeLevel
impl Debug for PhysDecodeLevel
source§impl PartialEq<PhysDecodeLevel> for PhysDecodeLevel
impl PartialEq<PhysDecodeLevel> for PhysDecodeLevel
source§fn eq(&self, other: &PhysDecodeLevel) -> bool
fn eq(&self, other: &PhysDecodeLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.