pub enum FileNotification {
DeltaWasApplied(TextFileId),
}
Expand description
A type for representing a notification from the collab server.
Variants§
DeltaWasApplied(TextFileId)
Notifies the client that another client applied the given delta to the file with the given id. This is only sent for files for which the client is a participant.
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 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