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 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. The tunables are excluded from the logic.
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 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.
§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