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

pub enum ConvErr {
    CoreFnMissing(String),
    Nullptr(String),
    FailedToFetchLength,
    FailedToCopy,
    InvalidArgCount(usize),
    Other(String),
    Interrupted,
    DoNothing,
    WrongEmacsValueType {
        expected: String,
        got: Option<EmacsVal>,
    },
    IoNotFound(Option<String>),
    IoPermissionDenied(Option<String>),
    IoConnectionRefused(Option<String>),
    IoConnectionReset(Option<String>),
    IoConnectionAborted(Option<String>),
    IoNotConnected(Option<String>),
    IoAddrInUse(Option<String>),
    IoAddrNotAvailable(Option<String>),
    IoBrokenPipe(Option<String>),
    IoAlreadyExists(Option<String>),
    IoWouldBlock(Option<String>),
    IoInvalidInput(Option<String>),
    IoInvalidData(Option<String>),
    IoTimedOut(Option<String>),
    IoWriteZero(Option<String>),
    IoInterrupted(Option<String>),
    IoOther(Option<String>),
    IoUnexpectedEof(Option<String>),
    NulByteFound {
        pos: usize,
        bytes: Vec<u8>,
    },
    FromUtf8Error {
        valid_up_to: usize,
        bytes: Vec<u8>,
    },
    Utf8Error {
        valid_up_to: usize,
    },
    FromBytesWithNul,
}

Variants

Fields of WrongEmacsValueType

Fields of NulByteFound

Fields of FromUtf8Error

Fields of Utf8Error

Trait Implementations

impl Clone for ConvErr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ConvErr
[src]

Formats the value using the given formatter.

impl PartialEq for ConvErr
[src]

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

This method tests for !=.

impl Eq for ConvErr
[src]

impl PartialOrd for ConvErr
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for ConvErr
[src]

This method returns an Ordering between self and other. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl From<Error> for ConvErr
[src]

Performs the conversion.

impl From<NulError> for ConvErr
[src]

Performs the conversion.

impl From<FromUtf8Error> for ConvErr
[src]

Performs the conversion.

impl From<Utf8Error> for ConvErr
[src]

Performs the conversion.

impl From<FromBytesWithNulError> for ConvErr
[src]

Performs the conversion.

impl From<IntoStringError> for ConvErr
[src]

Performs the conversion.