Struct dnp3::master::CommandBuilder[][src]

pub struct CommandBuilder { /* fields omitted */ }

Builder object used to create a CommandHeaders

Implementations

impl CommandBuilder[src]

pub fn new() -> Self[src]

construct a new CommandBuilder instance

pub fn finish_header(&mut self)[src]

Manually complete any partially built header.

This allows for building multiple headers of the same type, e.g. two g12v1 values in two separate headers

pub fn build(self) -> CommandHeaders[src]

Consume the instance and return a fully built CommandHeaders

Trait Implementations

impl Clone for CommandBuilder[src]

impl CommandSupport<Group12Var1> for CommandBuilder[src]

impl CommandSupport<Group41Var1> for CommandBuilder[src]

impl CommandSupport<Group41Var2> for CommandBuilder[src]

impl CommandSupport<Group41Var3> for CommandBuilder[src]

impl CommandSupport<Group41Var4> for CommandBuilder[src]

impl Default for CommandBuilder[src]

Auto Trait Implementations

impl RefUnwindSafe for CommandBuilder[src]

impl Send for CommandBuilder[src]

impl Sync for CommandBuilder[src]

impl Unpin for CommandBuilder[src]

impl UnwindSafe for CommandBuilder[src]

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> Instrument 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, 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.