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
NotUtf8Variant 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 CharsErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for CharsError[src]
impl Error for CharsErrorfn description(&self) -> &str[src]
fn description(&self) -> &strA 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 CharsErrorAuto Trait Implementations
impl Send for CharsError
impl Send for CharsErrorimpl Sync for CharsError
impl Sync for CharsError