Enum emacs_module_bindings::hlapi::ConvErr [] [src]

pub enum ConvErr {
    CoreFnMissing(String),
    Nullptr(String),
    FailedToFetchLength,
    FailedToCopy,
    InvalidArgCount(usize),
    Other(String),
    WrongEmacsValueType {
        expected: String,
        got: Option<EmacsVal>,
    },
    IoErr {
        kind: ErrorKind,
        msg: String,
    },
    RegexSyntaxErr(String),
    RegexTooLarge(usize),
    FromUtf8Error {
        valid_up_to: usize,
        bytes: Vec<u8>,
    },
    Utf8Error {
        valid_up_to: usize,
    },
    ParseIntError(ParseIntError),
    FoundInteriorNulByte {
        pos: usize,
        bytes: Option<Vec<u8>>,
    },
    NotNulTerminated,
}

Variants

Fields of WrongEmacsValueType

Fields of IoErr

Fields of FromUtf8Error

Fields of Utf8Error

Fields of FoundInteriorNulByte

Trait Implementations

impl Clone for ConvErr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ConvErr
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ConvErr
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ConvErr
[src]

impl From<Error> for ConvErr
[src]

[src]

Performs the conversion.

impl From<FromUtf8Error> for ConvErr
[src]

[src]

Performs the conversion.

impl From<Utf8Error> for ConvErr
[src]

[src]

Performs the conversion.

impl From<Error> for ConvErr
[src]

[src]

Performs the conversion.

impl From<NulError> for ConvErr
[src]

[src]

Performs the conversion.

impl From<FromBytesWithNulError> for ConvErr
[src]

[src]

Performs the conversion.

impl From<IntoStringError> for ConvErr
[src]

[src]

Performs the conversion.

impl From<ParseIntError> for ConvErr
[src]

[src]

Performs the conversion.