pub struct StoreRef<'a> { /* private fields */ }
Expand description
A temporary handle to a Store
.
Implementations§
source§impl<'a> StoreRef<'a>
impl<'a> StoreRef<'a>
sourcepub fn tunables(&self) -> &dyn Tunables
👎Deprecated since 3.2.0: store.tunables() has been deprecated in favor of store.engine().tunables()
pub fn tunables(&self) -> &dyn Tunables
Returns the Tunables
.
sourcepub fn same(a: &Self, b: &Self) -> bool
pub fn same(a: &Self, b: &Self) -> bool
Checks whether two stores are identical. A store is considered equal to another store if both have the same engine.
sourcepub fn signal_handler(&self) -> Option<*const TrapHandlerFn<'static>>
pub fn signal_handler(&self) -> Option<*const TrapHandlerFn<'static>>
The signal handler
Trait Implementations§
source§impl AsEngineRef for StoreRef<'_>
impl AsEngineRef for StoreRef<'_>
source§fn as_engine_ref(&self) -> EngineRef<'_>
fn as_engine_ref(&self) -> EngineRef<'_>
Returns a
EngineRef
pointing to the underlying context.source§impl AsStoreRef for StoreRef<'_>
impl AsStoreRef for StoreRef<'_>
source§fn as_store_ref(&self) -> StoreRef<'_>
fn as_store_ref(&self) -> StoreRef<'_>
Returns a
StoreRef
pointing to the underlying context.Auto Trait Implementations§
impl<'a> !RefUnwindSafe for StoreRef<'a>
impl<'a> !Send for StoreRef<'a>
impl<'a> !Sync for StoreRef<'a>
impl<'a> Unpin for StoreRef<'a>
impl<'a> !UnwindSafe for StoreRef<'a>
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
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>
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.