pub struct FetchOps {
pub scope: Scope,
pub request_id: RequestId,
pub source: LogSource,
pub predecessor: Prefix,
pub max_operations: u32,
pub max_body_bytes: u32,
}Expand description
One bounded request into a previously advertised immutable history.
The serving adapter must check that it owns and still pins this exact source. A request does not create a pin, prove history, or authorize role changes.
Fields§
§scope: ScopeActive transfer view and complete group configuration.
request_id: RequestIdUnique outstanding exchange in the established link session.
source: LogSourceExact configured voter, frozen writer incarnation, and accepted tail.
predecessor: PrefixLast verified prefix before the requested consecutive operations.
max_operations: u32Upper bound on complete operations in the response, never zero.
max_body_bytes: u32Upper bound on canonical body bytes in the response, never zero.
Trait Implementations§
impl Copy for FetchOps
impl Eq for FetchOps
impl StructuralPartialEq for FetchOps
Auto Trait Implementations§
impl Freeze for FetchOps
impl RefUnwindSafe for FetchOps
impl Send for FetchOps
impl Sync for FetchOps
impl Unpin for FetchOps
impl UnsafeUnpin for FetchOps
impl UnwindSafe for FetchOps
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