pub enum DirectoryCreationError {
BeforeCreation(Error),
AfterCreation(Error),
}Expand description
Creation failure distinguishes a refused claim from a possibly visible directory.
Variants§
BeforeCreation(Error)
No directory was created by this call (including an occupied name).
AfterCreation(Error)
The directory was created; admission or durability could not be confirmed. Retain and reconcile the original name rather than automatically retrying.
Trait Implementations§
Source§impl Debug for DirectoryCreationError
impl Debug for DirectoryCreationError
Source§impl Display for DirectoryCreationError
impl Display for DirectoryCreationError
Source§impl Error for DirectoryCreationError
impl Error for DirectoryCreationError
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 DirectoryCreationError
impl !UnwindSafe for DirectoryCreationError
impl Freeze for DirectoryCreationError
impl Send for DirectoryCreationError
impl Sync for DirectoryCreationError
impl Unpin for DirectoryCreationError
impl UnsafeUnpin for DirectoryCreationError
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