pub struct MaterializationLease { /* private fields */ }Expand description
A verified local materialization whose lifetime protects mmap and path consumers. Dropping it removes the disposable copy, never authoritative stored data.
Implementations§
Trait Implementations§
Source§impl Drop for MaterializationLease
impl Drop for MaterializationLease
Auto Trait Implementations§
impl Forget for MaterializationLease
impl Freeze for MaterializationLeasewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<ConsumerLease> is !null: Freeze,
PhantomData<ArcInner<ConsumerLease>>: Freeze,
impl Move for MaterializationLease
impl RefUnwindSafe for MaterializationLeasewhere
Atomic<usize>: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Condvar: RefUnwindSafe,
Mutex<()>: RefUnwindSafe,
impl Send for MaterializationLease
impl Sync for MaterializationLease
impl Unpin for MaterializationLease
impl UnsafeUnpin for MaterializationLeasewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<ConsumerLease> is !null: UnsafeUnpin,
PhantomData<ArcInner<ConsumerLease>>: UnsafeUnpin,
impl UnwindSafe for MaterializationLease
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more