pub enum Refusal {
Link,
NotAFile,
OutsidePackage,
HandWritten,
Exists,
Unreadable(Error),
}Expand description
Why cuno does not write a file.
Variants§
Link
A link, which could lead outside the project.
NotAFile
Something other than a file (a directory).
OutsidePackage
Not one of the package’s files.
HandWritten
A file cuno did not write, which is the user’s.
Exists
Something is already there, where cuno writes only a new file.
Unreadable(Error)
It could not be read to decide.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Refusal
impl !UnwindSafe for Refusal
impl Forget for Refusal
impl Freeze for Refusal
impl Move for Refusal
impl Send for Refusalwhere
Repr: Send,
impl Sync for Refusalwhere
Repr: Sync,
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
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