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
CoreFnMissing(String)
Nullptr(String)
FailedToFetchLength
FailedToCopy
InvalidArgCount(usize)
Other(String)
WrongEmacsValueType
Fields of WrongEmacsValueType
expected: String | |
got: Option<EmacsVal> |
IoErr
Fields of IoErr
kind: ErrorKind | |
msg: String |
RegexSyntaxErr(String)
RegexTooLarge(usize)
FromUtf8Error
Fields of FromUtf8Error
valid_up_to: usize | |
bytes: Vec<u8> |
Utf8Error
Fields of Utf8Error
valid_up_to: usize |
ParseIntError(ParseIntError)
FoundInteriorNulByte
Fields of FoundInteriorNulByte
pos: usize | |
bytes: Option<Vec<u8>> |
NotNulTerminated
Trait Implementations
impl Clone for ConvErr
[src]
fn clone(&self) -> ConvErr
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ConvErr
[src]
impl PartialEq for ConvErr
[src]
fn eq(&self, __arg_0: &ConvErr) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ConvErr) -> bool
[src]
This method tests for !=
.
impl Eq for ConvErr
[src]
impl From<Error> for ConvErr
[src]
impl From<FromUtf8Error> for ConvErr
[src]
fn from(err: FromUtf8Error) -> ConvErr
[src]
Performs the conversion.
impl From<Utf8Error> for ConvErr
[src]
impl From<Error> for ConvErr
[src]
impl From<NulError> for ConvErr
[src]
impl From<FromBytesWithNulError> for ConvErr
[src]
fn from(err: FromBytesWithNulError) -> ConvErr
[src]
Performs the conversion.
impl From<IntoStringError> for ConvErr
[src]
fn from(err: IntoStringError) -> ConvErr
[src]
Performs the conversion.
impl From<ParseIntError> for ConvErr
[src]
fn from(err: ParseIntError) -> ConvErr
[src]
Performs the conversion.