Skip to main content

AtResult

Type Alias AtResult 

Source
pub type AtResult<'a, const SIZE: usize> = Result<Bytes<SIZE>, AtError<'a>>;
Expand description

Result type for AT command operations Returns either a Bytes<SIZE> response buffer or an AtError

Aliased Type§

pub enum AtResult<'a, const SIZE: usize> {
    Ok(Bytes<SIZE>),
    Err(AtError<'a>),
}

Variants§

§1.0.0

Ok(Bytes<SIZE>)

Contains the success value

§1.0.0

Err(AtError<'a>)

Contains the error value