Skip to main content

AtResult

Type Alias AtResult 

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

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

Aliased Type§

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

Variants§

§1.0.0

Ok(Bytes<SIZE>)

Contains the success value

§1.0.0

Err(AtError)

Contains the error value