pub enum Notification {
FileCreated(ProjectedFile),
FileOpened(ProjectedFile),
FileClosed(ProjectedFile, FileCloseAction),
FileOverwritten(ProjectedFile),
PreFileRename(FileRenameInfo),
FileRenamed(FileRenameInfo),
PreSetHardlink(ProjectedFile),
HardlinkCreated(ProjectedFile),
PreFileDelete(ProjectedFile),
FilePreConvertToFull(ProjectedFile),
}
Variants§
FileCreated(ProjectedFile)
FileOpened(ProjectedFile)
FileClosed(ProjectedFile, FileCloseAction)
FileOverwritten(ProjectedFile)
PreFileRename(FileRenameInfo)
FileRenamed(FileRenameInfo)
PreSetHardlink(ProjectedFile)
HardlinkCreated(ProjectedFile)
PreFileDelete(ProjectedFile)
FilePreConvertToFull(ProjectedFile)
Implementations§
Source§impl Notification
impl Notification
Sourcepub fn is_cancelable(&self) -> bool
pub fn is_cancelable(&self) -> bool
Returns true
if the action can be cancelled
by returning ControlFlow::Break
Trait Implementations§
Source§impl Clone for Notification
impl Clone for Notification
Source§fn clone(&self) -> Notification
fn clone(&self) -> Notification
Returns a duplicate of the value. Read more
1.0.0 · 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 Notification
impl Debug for Notification
Source§impl Ord for Notification
impl Ord for Notification
Source§fn cmp(&self, other: &Notification) -> Ordering
fn cmp(&self, other: &Notification) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Notification
impl PartialEq for Notification
Source§impl PartialOrd for Notification
impl PartialOrd for Notification
impl Eq for Notification
impl StructuralPartialEq for Notification
Auto Trait Implementations§
impl Freeze for Notification
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
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