pub enum GuardError {
BatchTooLarge {
count: usize,
max: u32,
},
PathOutOfScope {
path: PathBuf,
},
WildcardRejected {
path: String,
},
Other(String),
}Variants§
Trait Implementations§
Source§impl Clone for GuardError
impl Clone for GuardError
Source§fn clone(&self) -> GuardError
fn clone(&self) -> GuardError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GuardError
impl Debug for GuardError
Auto Trait Implementations§
impl Freeze for GuardError
impl RefUnwindSafe for GuardError
impl Send for GuardError
impl Sync for GuardError
impl Unpin for GuardError
impl UnsafeUnpin for GuardError
impl UnwindSafe for GuardError
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