pub struct Carrier {
pub pending_id: String,
pub paths: BTreeSet<String>,
pub deletes: BTreeSet<String>,
pub uncited: BTreeSet<String>,
pub dropped: BTreeSet<String>,
}Expand description
See IntentJournal::carrier.
Fields§
§pending_id: StringPendingSentinel::id of the declaration these installs carried.
paths: BTreeSet<String>The dirty paths they published — uploads and deletes.
deletes: BTreeSet<String>Which of paths were DELETES: a document that does not cite one
of those is the declaration honoured, not dropped.
uncited: BTreeSet<String>Carried uploads the document the LAST barrier ended at does not cite: a peer deleted them after this writer published them. The ack’s document is that one, so it says so (H10). Recomputed at every barrier’s end from the document in hand; no request.
dropped: BTreeSet<String>Declared paths they did not carry (parked, deferred, or a delete
the merge outranked) — the ack’s report.dropped survives them.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Carrier
impl<'de> Deserialize<'de> for Carrier
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 Carrier
impl StructuralPartialEq for Carrier
Auto Trait Implementations§
impl Freeze for Carrier
impl RefUnwindSafe for Carrier
impl Send for Carrier
impl Sync for Carrier
impl Unpin for Carrier
impl UnsafeUnpin for Carrier
impl UnwindSafe for Carrier
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