Enum sawp_modbus::CodeCategory[][src]

#[repr(u8)]pub enum CodeCategory {
    PUBLIC_ASSIGNED,
    PUBLIC_UNASSIGNED,
    USER_DEFINED,
    RESERVED,
}

Function Code Categories as stated in the protocol reference

Variants

PUBLIC_ASSIGNED
PUBLIC_UNASSIGNED
USER_DEFINED
RESERVED

Trait Implementations

impl Binary for CodeCategory[src]

impl BitAnd<CodeCategory> for CodeCategory[src]

type Output = Flags<CodeCategory>

The resulting type after applying the & operator.

impl BitOr<CodeCategory> for CodeCategory[src]

type Output = Flags<CodeCategory>

The resulting type after applying the | operator.

impl BitXor<CodeCategory> for CodeCategory[src]

type Output = Flags<CodeCategory>

The resulting type after applying the ^ operator.

impl Clone for CodeCategory[src]

impl Copy for CodeCategory[src]

impl Debug for CodeCategory[src]

impl Display for CodeCategory[src]

impl Flag for CodeCategory[src]

type Primitive = u8

Associated primitive numeric type

impl FromStr for CodeCategory[src]

type Err = ()

The associated error which can be returned from parsing.

impl Not for CodeCategory[src]

type Output = Flags<CodeCategory>

The resulting type after applying the ! operator.

impl PartialEq<CodeCategory> for CodeCategory[src]

impl PartialEq<Flags<CodeCategory, <CodeCategory as Flag>::Primitive>> for CodeCategory[src]

impl StructuralPartialEq for CodeCategory[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.