#[non_exhaustive]pub struct ScopeSyncReply {
pub generation: u64,
pub results: Vec<ScopeRecordResult>,
pub ended: Vec<ScopeEnded>,
}Expand description
The daemon’s answer to an accepted ModuleHandle::scope_sync.
A refusal of the whole sync is never a reply: it is
ScopeCallError::Refused, and the daemon changed nothing.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.generation: u64The generation the daemon accepted, echoed from the request.
results: Vec<ScopeRecordResult>One result per record sent, in request order. A record refused on its
own merits is here with outcome refused and its code; the rest of the
sync still applied.
ended: Vec<ScopeEnded>Scopes of this owner that the sync ended, by leaving them out, sending a higher epoch for the same ref, or sweeping their expired deadlines.
Trait Implementations§
Source§impl Clone for ScopeSyncReply
impl Clone for ScopeSyncReply
Source§impl Debug for ScopeSyncReply
impl Debug for ScopeSyncReply
impl Eq for ScopeSyncReply
Source§impl PartialEq for ScopeSyncReply
impl PartialEq for ScopeSyncReply
impl StructuralPartialEq for ScopeSyncReply
Auto Trait Implementations§
impl Forget for ScopeSyncReply
impl Freeze for ScopeSyncReply
impl Move for ScopeSyncReply
impl RefUnwindSafe for ScopeSyncReply
impl Send for ScopeSyncReply
impl Sync for ScopeSyncReply
impl Unpin for ScopeSyncReply
impl UnsafeUnpin for ScopeSyncReply
impl UnwindSafe for ScopeSyncReply
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