pub struct StaticResponseContinuation {
pub command_id: CommandId,
pub request_id: RequestId,
pub bytes: &'static [u8],
pub next_offset: usize,
pub next_segment_index: u64,
pub total_segments: u64,
pub total_data_bytes: u64,
pub metadata_packed_len: u32,
pub segment_stream_bytes: usize,
}Expand description
The flash-backed source for the next automatically segmented response window.
Only offsets and a static borrow survive between proofs. The live encrypted resource owns at most one segment, so the complete file is never copied into the transfer store.
Fields§
§command_id: CommandId§request_id: RequestId§bytes: &'static [u8]§next_offset: usize§next_segment_index: u64§total_segments: u64§total_data_bytes: u64§metadata_packed_len: u32§segment_stream_bytes: usizeTrait Implementations§
Source§impl Clone for StaticResponseContinuation
impl Clone for StaticResponseContinuation
Source§fn clone(&self) -> StaticResponseContinuation
fn clone(&self) -> StaticResponseContinuation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StaticResponseContinuation
Source§impl Debug for StaticResponseContinuation
impl Debug for StaticResponseContinuation
impl Eq for StaticResponseContinuation
impl StructuralPartialEq for StaticResponseContinuation
Auto Trait Implementations§
impl Freeze for StaticResponseContinuation
impl RefUnwindSafe for StaticResponseContinuation
impl Send for StaticResponseContinuation
impl Sync for StaticResponseContinuation
impl Unpin for StaticResponseContinuation
impl UnsafeUnpin for StaticResponseContinuation
impl UnwindSafe for StaticResponseContinuation
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