pub enum Response {
Show 21 variants
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,
}
Expand description
Responses (including unsolicited) which may be parsed from the board.
Variants§
None
Ok
Error
FirmwareInfo(FirmwareInfo)
ReadyForData
ReceivedDataToSend(usize)
SendOk
SendFail
DataAvailable
DataReceived([u8; 512], usize)
WifiConnected
WifiConnectionFailure(WifiConnectionFailure)
WifiDisconnect
GotIp
IpAddresses(IpAddresses)
Connect(usize)
Closed(usize)
Resolvers(ResolverAddresses)
IpAddress(IpAddr)
DnsFail
UnlinkFail
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more