pub struct InboxDoc {
pub boundary_request: Option<VerbRequest>,
pub sync_request: Option<VerbRequest>,
}Fields§
§boundary_request: Option<VerbRequest>“Please publish” from outside the pod (§2.5).
sync_request: Option<VerbRequest>“Please pull” from outside the pod — CARRIED, never performed
(D14). A boundary publishes what is already on disk and touches
no local file; sync re-derives the tree against the current
remote manifest and DELETES local files for remotely-deleted
paths. Performing that on a remote’s say-so would upgrade what a
leaked gateway bearer can do from “publish, plus hand over these
N named objects” to “rewrite and delete across a running agent’s
tree, at my timing, under a scope I choose”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InboxDoc
impl<'de> Deserialize<'de> for InboxDoc
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
Auto Trait Implementations§
impl Freeze for InboxDoc
impl RefUnwindSafe for InboxDoc
impl Send for InboxDoc
impl Sync for InboxDoc
impl Unpin for InboxDoc
impl UnsafeUnpin for InboxDoc
impl UnwindSafe for InboxDoc
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