pub enum ReceivedTagResolution {
Resolved(ObjectId),
NotHeld,
Ambiguous {
detail: String,
},
}Expand description
The resolution half of ReceivedTagSummary – the same three states RFC 117 T2 already
distinguishes, restated here because resolve_patch_set_digest reports ambiguity as an Err
(a refusal to pick, appropriate for a caller about to act on it) where a listing command instead
wants it as a value to display alongside every other row, not a reason to abort the whole list.
Variants§
Resolved(ObjectId)
Resolves to exactly this local block.
NotHeld
Not held locally yet – ordinary, not a failure (T2).
Ambiguous
Two or more local blocks share this patch set; detail names them (resolve_patch_set_digest’s
own refusal message, carried through unchanged).
Trait Implementations§
Source§impl Clone for ReceivedTagResolution
impl Clone for ReceivedTagResolution
Source§fn clone(&self) -> ReceivedTagResolution
fn clone(&self) -> ReceivedTagResolution
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 ReceivedTagResolution
impl Debug for ReceivedTagResolution
impl Eq for ReceivedTagResolution
Source§impl PartialEq for ReceivedTagResolution
impl PartialEq for ReceivedTagResolution
impl StructuralPartialEq for ReceivedTagResolution
Auto Trait Implementations§
impl Freeze for ReceivedTagResolution
impl RefUnwindSafe for ReceivedTagResolution
impl Send for ReceivedTagResolution
impl Sync for ReceivedTagResolution
impl Unpin for ReceivedTagResolution
impl UnsafeUnpin for ReceivedTagResolution
impl UnwindSafe for ReceivedTagResolution
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