Struct amplify::IoError [−][src]
pub struct IoError(_);
Copyable & cloneable I/O error type represented by the error kind function
Example
ⓘ
#[macro_use] extern crate amplify_derive; use amplify::IoError; #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, From, Debug, Display, Error)] enum Error { #[from(::std::io::Error)] #[display(inner)] Io(IoError), }
Trait Implementations
impl BorrowMut<<IoError as Wrapper>::Inner> for IoError
[src]
impl BorrowMut<<IoError as Wrapper>::Inner> for IoError
[src]fn borrow_mut(&mut self) -> &mut Self::Inner
[src]
impl PartialOrd<IoError> for IoError
[src]
impl PartialOrd<IoError> for IoError
[src]impl StructuralEq for IoError
[src]
impl StructuralEq for IoError
[src]impl StructuralPartialEq for IoError
[src]
impl StructuralPartialEq for IoError
[src]impl Wrapper for IoError
[src]
impl Wrapper for IoError
[src]type Inner = ErrorKind
Inner type wrapped by the current newtype
fn from_inner(inner: Self::Inner) -> Self
[src]
fn as_inner(&self) -> &Self::Inner
[src]
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]
fn into_inner(self) -> Self::Inner
[src]
fn to_inner(&self) -> Self::Inner
[src]
fn copy(&self) -> Self where
Self: Sized,
Self::Inner: Copy,
[src]
Self: Sized,
Self::Inner: Copy,
Auto Trait Implementations
impl RefUnwindSafe for IoError
impl RefUnwindSafe for IoError
impl UnwindSafe for IoError
impl UnwindSafe for IoError