pub struct BlobPrefetchRequest {
pub blob_id: String,
pub offset: u64,
pub len: u64,
}Expand description
Struct representing a blob data prefetching request.
It may help to improve performance for the storage backend to prefetch data in background.
A BlobPrefetchControl object advises to prefetch data range [offset, offset + len) from
blob blob_id. The prefetch operation should be asynchronous, and cache hit for filesystem
read operations should validate data integrity.
Fields§
§blob_id: StringThe ID of the blob to prefetch data for.
offset: u64Offset into the blob to prefetch data.
len: u64Size of data to prefetch.
Auto Trait Implementations§
impl Freeze for BlobPrefetchRequest
impl RefUnwindSafe for BlobPrefetchRequest
impl Send for BlobPrefetchRequest
impl Sync for BlobPrefetchRequest
impl Unpin for BlobPrefetchRequest
impl UnsafeUnpin for BlobPrefetchRequest
impl UnwindSafe for BlobPrefetchRequest
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