pub enum ExchangeMatch {
}Expand description
How the read loop decided the exchange finished.
Variants§
Ok
Error
CmeError
+CME ERROR: (27.007 §9.2); a verbose text (AT+CMEE=2) is mapped to its code
(None for text the parser does not know).
CmsError
+CMS ERROR: (27.005 §3.2.5), mapped like ExchangeMatch::CmeError.
NoCarrier
Busy
NoAnswer
NoDialtone
SendOk
SEND OK: not V.250, the final of module TCP stacks (AT+CIPSEND).
SendFail
SEND FAIL: not V.250, see ExchangeMatch::SendOk.
Intermediate
Substring
Idle
Implementations§
Source§impl ExchangeMatch
impl ExchangeMatch
pub fn to_parse_status(&self) -> AtParseStatus
Trait Implementations§
Source§impl Clone for ExchangeMatch
impl Clone for ExchangeMatch
Source§fn clone(&self) -> ExchangeMatch
fn clone(&self) -> ExchangeMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExchangeMatch
impl Debug for ExchangeMatch
Source§impl<'de> Deserialize<'de> for ExchangeMatch
impl<'de> Deserialize<'de> for ExchangeMatch
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExchangeMatch, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExchangeMatch, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExchangeMatch
Source§impl PartialEq for ExchangeMatch
impl PartialEq for ExchangeMatch
Source§impl Serialize for ExchangeMatch
impl Serialize for ExchangeMatch
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ExchangeMatch
Auto Trait Implementations§
impl Forget for ExchangeMatch
impl Freeze for ExchangeMatch
impl RefUnwindSafe for ExchangeMatch
impl Send for ExchangeMatch
impl Sync for ExchangeMatch
impl Unpin for ExchangeMatch
impl UnsafeUnpin for ExchangeMatch
impl UnwindSafe for ExchangeMatch
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