Struct PathPersistError

pub struct PathPersistError { pub error: Error, pub path: TempPath }

Error returned when persisting a temporary file path fails.

Fields

error: Error

The underlying IO error.

path: TempPath

The temporary file path that couldn't be persisted.

Trait Implementations

impl Debug for PathPersistError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for PathPersistError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Error for PathPersistError

fn source(&self) -> Option<&dyn Error + 'static>

Auto Trait Implementations

impl !RefUnwindSafe for PathPersistError

impl !UnwindSafe for PathPersistError

impl Freeze for PathPersistError

impl Send for PathPersistError

impl Sync for PathPersistError

impl Unpin for PathPersistError

impl UnsafeUnpin for PathPersistError

Blanket Implementations

impl<T> Any for PathPersistError where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for PathPersistError where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for PathPersistError where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for PathPersistError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for PathPersistError where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for PathPersistError where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for PathPersistError where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for PathPersistError where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>