[][src]Enum drogue_esp8266::protocol::Response

pub enum Response {
    None,
    Ok,
    Error,
    FirmwareInfo(FirmwareInfo),
    ReadyForData,
    ReceivedDataToSend(usize),
    SendOk,
    SendFail,
    DataAvailable {
        link_id: usize,
        len: usize,
    },
    DataReceived([u8; 512], usize),
    WifiConnected,
    WifiConnectionFailure(WifiConnectionFailure),
    WifiDisconnect,
    GotIp,
    IpAddresses(IpAddresses),
    Connect(usize),
    Closed(usize),
    Resolvers(ResolverAddresses),
    IpAddress(IpAddr),
    DnsFail,
    UnlinkFail,
}

Responses (including unsolicited) which may be parsed from the board.

Variants

None
Ok
Error
FirmwareInfo(FirmwareInfo)
ReadyForData
ReceivedDataToSend(usize)
SendOk
SendFail
DataAvailable

Fields of DataAvailable

link_id: usizelen: usize
DataReceived([u8; 512], usize)
WifiConnected
WifiConnectionFailure(WifiConnectionFailure)
WifiDisconnect
GotIp
IpAddresses(IpAddresses)
Connect(usize)
Closed(usize)
IpAddress(IpAddr)
DnsFail
UnlinkFail

Trait Implementations

impl Debug for Response[src]

Auto Trait Implementations

impl Send for Response

impl Sync for Response

impl Unpin for Response

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

type Output = T

Should always be Self

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.