pub struct IntoPagesError<T: Debug> {
pub err: Error,
pub from: T,
}
Expand description
Represents an io::Error
when trying to convert an object to a pages object, while also
containg the object the operation was attempted on
Fields§
§err: Error
The io::Error
that occured when attempting the operation
from: T
The object the operation was attempted on
Trait Implementations§
Source§impl<T: Debug> Display for IntoPagesError<T>
impl<T: Debug> Display for IntoPagesError<T>
Source§impl<T: Debug> Error for IntoPagesError<T>
impl<T: Debug> Error for IntoPagesError<T>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<T> Freeze for IntoPagesError<T>where
T: Freeze,
impl<T> !RefUnwindSafe for IntoPagesError<T>
impl<T> Send for IntoPagesError<T>where
T: Send,
impl<T> Sync for IntoPagesError<T>where
T: Sync,
impl<T> Unpin for IntoPagesError<T>where
T: Unpin,
impl<T> !UnwindSafe for IntoPagesError<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more