pub enum MergeResolutionKind {
Value,
Delete,
Unresolved,
}Expand description
Compact form of a resolver result for trace events.
Variants§
Value
Resolver returned a value.
Delete
Resolver chose to delete the key.
Unresolved
Resolver left the conflict unresolved.
Trait Implementations§
Source§impl Clone for MergeResolutionKind
impl Clone for MergeResolutionKind
Source§fn clone(&self) -> MergeResolutionKind
fn clone(&self) -> MergeResolutionKind
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 moreimpl Copy for MergeResolutionKind
Source§impl Debug for MergeResolutionKind
impl Debug for MergeResolutionKind
Source§impl<'de> Deserialize<'de> for MergeResolutionKind
impl<'de> Deserialize<'de> for MergeResolutionKind
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
impl Eq for MergeResolutionKind
Source§impl From<&Resolution> for MergeResolutionKind
impl From<&Resolution> for MergeResolutionKind
Source§fn from(resolution: &Resolution) -> Self
fn from(resolution: &Resolution) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MergeResolutionKind
impl PartialEq for MergeResolutionKind
Source§impl Serialize for MergeResolutionKind
impl Serialize for MergeResolutionKind
impl StructuralPartialEq for MergeResolutionKind
Auto Trait Implementations§
impl Freeze for MergeResolutionKind
impl RefUnwindSafe for MergeResolutionKind
impl Send for MergeResolutionKind
impl Sync for MergeResolutionKind
impl Unpin for MergeResolutionKind
impl UnsafeUnpin for MergeResolutionKind
impl UnwindSafe for MergeResolutionKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more