pub struct Prepare<'a> {
pub scope: Scope,
pub committed: Prefix,
pub operations: &'a [Operation<'a>],
}Expand description
One bounded outbound prepare, borrowing prevalidated canonical operations.
Fields§
§scope: ScopeActive view; each operation preserves its own original view.
committed: PrefixPrimary’s piggyback commit knowledge, independently checked by the core.
operations: &'a [Operation<'a>]Consecutive whole operations; never split a canonical operation on the wire.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Prepare<'a>
impl<'a> RefUnwindSafe for Prepare<'a>
impl<'a> Send for Prepare<'a>
impl<'a> Sync for Prepare<'a>
impl<'a> Unpin for Prepare<'a>
impl<'a> UnsafeUnpin for Prepare<'a>
impl<'a> UnwindSafe for Prepare<'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