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
CoreFnMissing(String)
Nullptr(String)
FailedToFetchLength
FailedToCopy
InvalidArgCount(usize)
Other(String)
Interrupted
DoNothing
WrongEmacsValueType
Fields of 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
Fields of NulByteFound
pos: usize | |
bytes: Vec<u8> |
FromUtf8Error
Fields of FromUtf8Error
valid_up_to: usize | |
bytes: Vec<u8> |
Utf8Error
Fields of Utf8Error
valid_up_to: usize |
FromBytesWithNul
Trait Implementations
impl Clone for ConvErr
[src]
fn clone(&self) -> ConvErr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ConvErr
[src]
impl PartialEq for ConvErr
[src]
fn eq(&self, __arg_0: &ConvErr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ConvErr) -> bool
This method tests for !=
.
impl Eq for ConvErr
[src]
impl PartialOrd for ConvErr
[src]
fn partial_cmp(&self, __arg_0: &ConvErr) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &ConvErr) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &ConvErr) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &ConvErr) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &ConvErr) -> bool
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]
fn cmp(&self, __arg_0: &ConvErr) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
ord_max_min
)Compares and returns the minimum of two values. Read more
impl From<Error> for ConvErr
[src]
impl From<NulError> for ConvErr
[src]
impl From<FromUtf8Error> for ConvErr
[src]
fn from(fue: FromUtf8Error) -> ConvErr
Performs the conversion.
impl From<Utf8Error> for ConvErr
[src]
impl From<FromBytesWithNulError> for ConvErr
[src]
fn from(_: FromBytesWithNulError) -> ConvErr
Performs the conversion.
impl From<IntoStringError> for ConvErr
[src]
fn from(ise: IntoStringError) -> ConvErr
Performs the conversion.