pub struct SnapshotSessionRequest<'a> {
pub start: &'a SnapshotBuildStart,
pub source_descriptor: &'a mut File,
pub source_archive: &'a mut File,
pub source_limits: SourceArchiveLimits,
}Expand description
Source handles and limits for one snapshot request.
Fields§
§start: &'a SnapshotBuildStartValidated control declaration sent as client frame zero.
source_descriptor: &'a mut FileExact strict JSON descriptor declared by start.
source_archive: &'a mut FileExact deterministic source archive declared by start and the descriptor.
source_limits: SourceArchiveLimitsLimits used while reconstructing the complete request.
Implementations§
Source§impl<'a> SnapshotSessionRequest<'a>
impl<'a> SnapshotSessionRequest<'a>
Sourcepub const fn new(
start: &'a SnapshotBuildStart,
source_descriptor: &'a mut File,
source_archive: &'a mut File,
source_limits: SourceArchiveLimits,
) -> Self
pub const fn new( start: &'a SnapshotBuildStart, source_descriptor: &'a mut File, source_archive: &'a mut File, source_limits: SourceArchiveLimits, ) -> Self
Bind one build declaration to already-open source handles.
Auto Trait Implementations§
impl<'a> !UnwindSafe for SnapshotSessionRequest<'a>
impl<'a> Freeze for SnapshotSessionRequest<'a>
impl<'a> RefUnwindSafe for SnapshotSessionRequest<'a>
impl<'a> Send for SnapshotSessionRequest<'a>
impl<'a> Sync for SnapshotSessionRequest<'a>
impl<'a> Unpin for SnapshotSessionRequest<'a>
impl<'a> UnsafeUnpin for SnapshotSessionRequest<'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