[][src]Enum atat::Command

pub enum Command {
    ClearBuffer,
    ForceState(State),
    SetLineTerm(u8),
    SetFormat(u8),
    SetEcho(bool),
}

Commands that can be sent from the client to the ingress manager, for configuration after initial setup. This is also used for stuff like clearing the receive buffer on command timeouts.

Variants

ClearBuffer

Clear the rx buffer, usually as a result of a command timeout

ForceState(State)

Force the ingress manager into the given state

SetLineTerm(u8)

Change the line termination character, must be called af setting ATS3=

SetFormat(u8)

Change the format character, must be called af setting ATS4=

SetEcho(bool)

Enable or disable AT echo, must be called after setting ATE

Trait Implementations

impl Clone for Command[src]

impl Copy for Command[src]

impl Debug for Command[src]

impl Eq for Command[src]

impl Hash for Command[src]

impl PartialEq<Command> for Command[src]

impl StructuralEq for Command[src]

impl StructuralPartialEq for Command[src]

Auto Trait Implementations

impl RefUnwindSafe for Command

impl Send for Command

impl Sync for Command

impl Unpin for Command

impl UnwindSafe for Command

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> Same<T> for T[src]

type Output = T

Should always be Self

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.