Struct sgx_tstd::io::IntoInnerError [−][src]
pub struct IntoInnerError<W>(_, _);
An error returned by into_inner
which combines an error that
happened while writing out the buffer, and the buffered writer object
which may be used to recover from the condition.
Methods
impl<W> IntoInnerError<W>
[src]
impl<W> IntoInnerError<W>
pub fn error(&self) -> &Error
[src]
pub fn error(&self) -> &Error
Returns the error which caused the call to into_inner()
to fail.
This error was returned when attempting to write the internal buffer.
pub fn into_inner(self) -> W
[src]
pub fn into_inner(self) -> W
Returns the buffered writer instance which generated the error.
The returned object can be used for error recovery, such as re-inspecting the buffer.
Trait Implementations
impl<W: Debug> Debug for IntoInnerError<W>
[src]
impl<W: Debug> Debug for IntoInnerError<W>
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<W> From<IntoInnerError<W>> for Error
[src]
impl<W> From<IntoInnerError<W>> for Error
fn from(iie: IntoInnerError<W>) -> Error
[src]
fn from(iie: IntoInnerError<W>) -> Error
Performs the conversion.
impl<W: Send + Debug> Error for IntoInnerError<W>
[src]
impl<W: Send + Debug> Error for IntoInnerError<W>
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<W> Display for IntoInnerError<W>
[src]
impl<W> Display for IntoInnerError<W>
Auto Trait Implementations
impl<W> Send for IntoInnerError<W> where
W: Send,
impl<W> Send for IntoInnerError<W> where
W: Send,
impl<W> Sync for IntoInnerError<W> where
W: Sync,
impl<W> Sync for IntoInnerError<W> where
W: Sync,