[−][src]Struct dogear::ChangeGuid
A completion op to change the local GUID to the merged GUID. This is used to dedupe new local items to remote ones, as well as to fix up invalid GUIDs.
Fields
merged_node: &'t MergedNode<'t>
The merged node to update.
level: usize
The level of the node in the merged tree. Desktop uses this to ensure that GUID change observers are notified in level order (parents before children).
Methods
impl<'t> ChangeGuid<'t>
[src]
pub fn local_node(&self) -> &'t Node<'t>
[src]
Returns the local node for this completion op. Panics if the local node
isn't set, as we should never emit a ChangeGuid
op in that case.
Trait Implementations
impl<'t> Copy for ChangeGuid<'t>
[src]
impl<'t> Clone for ChangeGuid<'t>
[src]
fn clone(&self) -> ChangeGuid<'t>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'t> Debug for ChangeGuid<'t>
[src]
impl<'t> Display for ChangeGuid<'t>
[src]
Auto Trait Implementations
impl<'t> Sync for ChangeGuid<'t>
impl<'t> Unpin for ChangeGuid<'t>
impl<'t> Send for ChangeGuid<'t>
impl<'t> UnwindSafe for ChangeGuid<'t>
impl<'t> RefUnwindSafe for ChangeGuid<'t>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,