pub struct HostChunkLease { /* private fields */ }Expand description
Explicit host-memory lease for one decoded LOD chunk.
Implementations§
Source§impl HostChunkLease
impl HostChunkLease
Sourcepub const fn host_bytes(&self) -> u64
pub const fn host_bytes(&self) -> u64
Exact reserved host bytes.
Sourcepub fn cancellation_token(&self) -> CancellationToken
pub fn cancellation_token(&self) -> CancellationToken
Cooperative cancellation token checked before upload completion.
Trait Implementations§
Source§impl Debug for HostChunkLease
impl Debug for HostChunkLease
Source§impl Drop for HostChunkLease
Available on crate feature records only.
impl Drop for HostChunkLease
Available on crate feature
records only.Auto Trait Implementations§
impl Freeze for HostChunkLease
impl RefUnwindSafe for HostChunkLease
impl Send for HostChunkLease
impl Sync for HostChunkLease
impl Unpin for HostChunkLease
impl UnsafeUnpin for HostChunkLease
impl UnwindSafe for HostChunkLease
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