pub struct StorageReadControl { /* private fields */ }Implementations§
Source§impl StorageReadControl
impl StorageReadControl
pub fn with_limit(limit: usize) -> Self
pub fn new(memory: &MemoryBudget, cancellation: &CancellationToken) -> Self
pub fn memory(&self) -> &MemoryBudget
pub fn cancellation(&self) -> &CancellationToken
pub fn check(&self) -> StorageBackendResult<()>
Trait Implementations§
Source§impl Clone for StorageReadControl
impl Clone for StorageReadControl
Source§fn clone(&self) -> StorageReadControl
fn clone(&self) -> StorageReadControl
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 moreAuto Trait Implementations§
impl Freeze for StorageReadControl
impl RefUnwindSafe for StorageReadControl
impl Send for StorageReadControl
impl Sync for StorageReadControl
impl Unpin for StorageReadControl
impl UnsafeUnpin for StorageReadControl
impl UnwindSafe for StorageReadControl
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