pub enum Working<'a> {
InSource,
Settled(&'a str),
}Expand description
Where an anchor’s working text comes from, so the refusal’s facts cannot drift away from the target they attest.
Variants§
InSource
The target’s own text in the original source. The resolver reads it from the one open it already makes, so a caller with no settled text cannot hand in text that is not the target’s.
Settled(&'a str)
The target’s text in the settled working document W (V2-06/V2-10).
Settlement is the caller’s: the refusal still binds the digest, the
target inventory and the elsewhere suggestions to source, and this
variant is where the caller states that the text is W’s, not S’s.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Working<'a>
impl<'a> Freeze for Working<'a>
impl<'a> Move for Working<'a>
impl<'a> RefUnwindSafe for Working<'a>
impl<'a> Send for Working<'a>
impl<'a> Sync for Working<'a>
impl<'a> Unpin for Working<'a>
impl<'a> UnsafeUnpin for Working<'a>
impl<'a> UnwindSafe for Working<'a>
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