pub struct LayouterError {
pub description: String,
pub io_error: Option<Error>,
}Fields§
§description: String§io_error: Option<Error>Implementations§
Source§impl LayouterError
impl LayouterError
pub fn from_description(description: String) -> Self
pub fn from_io_error(io_error: Error) -> Self
Trait Implementations§
Source§impl Debug for LayouterError
impl Debug for LayouterError
Source§impl Display for LayouterError
impl Display for LayouterError
Source§impl Error for LayouterError
impl Error for LayouterError
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 Freeze for LayouterError
impl !RefUnwindSafe for LayouterError
impl Send for LayouterError
impl Sync for LayouterError
impl Unpin for LayouterError
impl !UnwindSafe for LayouterError
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