Enum sawp_modbus::CodeCategory [−][src]
Function Code Categories as stated in the protocol reference
Variants
Trait Implementations
impl Binary for CodeCategory
[src]
impl BitAnd<CodeCategory> for CodeCategory
[src]
type Output = Flags<CodeCategory>
The resulting type after applying the &
operator.
fn bitand(self, other: Self) -> Self::Output
[src]
impl BitOr<CodeCategory> for CodeCategory
[src]
type Output = Flags<CodeCategory>
The resulting type after applying the |
operator.
fn bitor(self, other: Self) -> Self::Output
[src]
impl BitXor<CodeCategory> for CodeCategory
[src]
type Output = Flags<CodeCategory>
The resulting type after applying the ^
operator.
fn bitxor(self, other: Self) -> Self::Output
[src]
impl Clone for CodeCategory
[src]
fn clone(&self) -> CodeCategory
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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
const ITEMS: &'static [Self]
[src]
fn bits(self) -> Self::Primitive
[src]
fn none() -> Flags<Self>
[src]
fn all() -> Flags<Self>
[src]
impl FromStr for CodeCategory
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(val: &str) -> Result<CodeCategory, Self::Err>
[src]
impl Not for CodeCategory
[src]
type Output = Flags<CodeCategory>
The resulting type after applying the !
operator.
fn not(self) -> Self::Output
[src]
impl PartialEq<CodeCategory> for CodeCategory
[src]
fn eq(&self, other: &CodeCategory) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<Flags<CodeCategory, <CodeCategory as Flag>::Primitive>> for CodeCategory
[src]
fn eq(&self, other: &Flags<Self>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for CodeCategory
[src]
Auto Trait Implementations
impl RefUnwindSafe for CodeCategory
impl Send for CodeCategory
impl Sync for CodeCategory
impl Unpin for CodeCategory
impl UnwindSafe for CodeCategory
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,