Enum sgx_tstd::io::CharsError [−][src]
pub enum CharsError { NotUtf8, Other(Error), }
An enumeration of possible errors that can be generated from the Chars
adapter.
Variants
NotUtf8
Variant representing that the underlying stream was read successfully but it did not contain valid utf8 data.
Other(Error)
Variant representing that an I/O error occurred.
Trait Implementations
impl Debug for CharsError
[src]
impl Debug for CharsError
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 Error for CharsError
[src]
impl Error for CharsError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
A short description of the error.
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any.
fn type_id(&self) -> TypeId where
Self: 'static,
[src]
fn type_id(&self) -> TypeId where
Self: 'static,
Get the TypeId
of self
impl Display for CharsError
[src]
impl Display for CharsError
Auto Trait Implementations
impl Send for CharsError
impl Send for CharsError
impl Sync for CharsError
impl Sync for CharsError