pub type AtResult<'a, const SIZE: usize> = Result<(&'static str, Bytes<SIZE>), (&'static str, AtError<'a>)>;Expand description
Result type for AT command operations.
Both the success and the error variant carry the AT response prefix string
(&'static str) that was registered alongside the command, so callers can always
reconstruct the full response line.
Ok((prefix, bytes))— successful response with the AT prefix and payloadErr((prefix, error))— failure with the AT prefix and error kind
Aliased Type§
pub enum AtResult<'a, const SIZE: usize> {
Ok((&'static str, Bytes<SIZE>)),
Err((&'static str, AtError<'a>)),
}