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§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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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
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