pub struct TlsRestore(/* private fields */);
Expand description
Opaque state used to help control TLS state across stack switches for async support.
Implementations§
Source§impl TlsRestore
impl TlsRestore
Auto Trait Implementations§
impl Freeze for TlsRestore
impl !RefUnwindSafe for TlsRestore
impl !Send for TlsRestore
impl !Sync for TlsRestore
impl Unpin for TlsRestore
impl !UnwindSafe for TlsRestore
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§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