pub enum FileNotification {
FileChangedOnDisk(SaveFileResponse),
SearchResults {
id: u64,
results: Vec<SearchResult>,
},
}
Expand description
A type for representing a notification from the collab server.
Variants§
Trait Implementations§
Source§impl Clone for FileNotification
impl Clone for FileNotification
Source§fn clone(&self) -> FileNotification
fn clone(&self) -> FileNotification
Returns a copy 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 DeBin for FileNotification
impl DeBin for FileNotification
Source§impl Debug for FileNotification
impl Debug for FileNotification
Auto Trait Implementations§
impl Freeze for FileNotification
impl RefUnwindSafe for FileNotification
impl Send for FileNotification
impl Sync for FileNotification
impl Unpin for FileNotification
impl UnwindSafe for FileNotification
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