Enum rustberry::error::ErrorKind [−][src]
pub enum ErrorKind { Reserved, OutOfRange, IoError, UnsupportedSystem, }
Types of errors returned by this crate.
Variants
Reserved
The item requested has already been reserved.
OutOfRange
The identifier given is invalid for this item type.
IoError
A critical I/O error occurred during this function call.
UnsupportedSystem
The detected system is not supported by this crate.
Trait Implementations
impl Debug for ErrorKind
[src]
impl Debug for ErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ErrorKind
[src]
impl Clone for ErrorKind
fn clone(&self) -> ErrorKind
[src]
fn clone(&self) -> ErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ErrorKind
[src]
impl PartialEq for ErrorKind
fn eq(&self, other: &ErrorKind) -> bool
[src]
fn eq(&self, other: &ErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ErrorKind
[src]
impl Eq for ErrorKind
impl Display for ErrorKind
[src]
impl Display for ErrorKind