Skip to main content

Error

Type Alias Error 

Source
pub type Error = WriteError;

Aliased Type§

pub enum Error {
    WriteChunk {
        name: &'static str,
        source: WriteChunkError,
    },
    WriteField {
        field: &'static str,
        backtrace: Backtrace,
        source: Error,
    },
    WriteReserved {
        bytes: u32,
        backtrace: Backtrace,
        source: Error,
    },
    EncodeField {
        field: &'static str,
        source: EncodeTextError,
    },
}

Variants§

§

WriteChunk

Fields

§name: &'static str

the name of the PDU structure

§

WriteField

Fields

§field: &'static str
§backtrace: Backtrace
§source: Error
§

WriteReserved

Fields

§bytes: u32
§backtrace: Backtrace
§source: Error
§

EncodeField

Fields

§field: &'static str