pub struct ChangesetClearedAction {}Expand description
Drop every file from the changeset.
Two cases use this:
- The underlying source moved (branch switched, fork point invalidated, …) and the server is recomputing from scratch — subsequent {@link ChangesetFileSetAction} entries will repopulate it.
- The owning session has ended and the URI is becoming un-subscribable — the server will unsubscribe all clients shortly after dispatching this action.
Clients SHOULD release any references on receipt and SHOULD NOT
distinguish the two cases from the action alone — instead, react to
the corresponding session-level lifecycle signal (e.g.
root/sessionRemoved) for the “going away” case.
Trait Implementations§
Source§impl Clone for ChangesetClearedAction
impl Clone for ChangesetClearedAction
Source§fn clone(&self) -> ChangesetClearedAction
fn clone(&self) -> ChangesetClearedAction
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 ChangesetClearedAction
impl Debug for ChangesetClearedAction
Source§impl<'de> Deserialize<'de> for ChangesetClearedAction
impl<'de> Deserialize<'de> for ChangesetClearedAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChangesetClearedAction
impl PartialEq for ChangesetClearedAction
Source§fn eq(&self, other: &ChangesetClearedAction) -> bool
fn eq(&self, other: &ChangesetClearedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChangesetClearedAction
impl Serialize for ChangesetClearedAction
impl StructuralPartialEq for ChangesetClearedAction
Auto Trait Implementations§
impl Freeze for ChangesetClearedAction
impl RefUnwindSafe for ChangesetClearedAction
impl Send for ChangesetClearedAction
impl Sync for ChangesetClearedAction
impl Unpin for ChangesetClearedAction
impl UnsafeUnpin for ChangesetClearedAction
impl UnwindSafe for ChangesetClearedAction
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