pub enum PrivateBytesError {
BeforeCreation(Error),
Write {
path: PathBuf,
source: Error,
cleanup: Option<Error>,
},
}Expand description
Private scratch creation failed, retaining the original IO and cleanup causes.
Variants§
BeforeCreation(Error)
Validation, parent resolution or opening failed before creating a file.
Write
A newly created file could not be written completely.
Trait Implementations§
Source§impl Debug for PrivateBytesError
impl Debug for PrivateBytesError
Source§impl Display for PrivateBytesError
impl Display for PrivateBytesError
Source§impl Error for PrivateBytesError
impl Error for PrivateBytesError
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 !RefUnwindSafe for PrivateBytesError
impl !UnwindSafe for PrivateBytesError
impl Freeze for PrivateBytesError
impl Send for PrivateBytesError
impl Sync for PrivateBytesError
impl Unpin for PrivateBytesError
impl UnsafeUnpin for PrivateBytesError
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