Enum sawp_modbus::CodeCategory
source · #[repr(u8)]
pub enum CodeCategory {
PUBLIC_ASSIGNED,
PUBLIC_UNASSIGNED,
USER_DEFINED,
RESERVED,
}
Expand description
Function Code Categories as stated in the protocol reference
Variants§
Trait Implementations§
source§impl Binary for CodeCategory
impl Binary for CodeCategory
source§impl BitAnd<CodeCategory> for CodeCategory
impl BitAnd<CodeCategory> for CodeCategory
source§impl BitOr<CodeCategory> for CodeCategory
impl BitOr<CodeCategory> for CodeCategory
source§impl BitXor<CodeCategory> for CodeCategory
impl BitXor<CodeCategory> for CodeCategory
source§impl Clone for CodeCategory
impl Clone for CodeCategory
source§fn clone(&self) -> CodeCategory
fn clone(&self) -> CodeCategory
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 CodeCategory
impl Debug for CodeCategory
source§impl Display for CodeCategory
impl Display for CodeCategory
source§impl Flag for CodeCategory
impl Flag for CodeCategory
source§impl FromStr for CodeCategory
impl FromStr for CodeCategory
source§impl Not for CodeCategory
impl Not for CodeCategory
source§impl PartialEq<CodeCategory> for CodeCategory
impl PartialEq<CodeCategory> for CodeCategory
source§fn eq(&self, other: &CodeCategory) -> bool
fn eq(&self, other: &CodeCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.