Enum holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::prelude::LairApiEnum
source · #[non_exhaustive]pub enum LairApiEnum {
Show 31 variants
ResError(LairApiResError),
ReqHello(LairApiReqHello),
ResHello(LairApiResHello),
ReqUnlock(LairApiReqUnlock),
ResUnlock(LairApiResUnlock),
ReqGetEntry(LairApiReqGetEntry),
ResGetEntry(LairApiResGetEntry),
ReqListEntries(LairApiReqListEntries),
ResListEntries(LairApiResListEntries),
ReqNewSeed(LairApiReqNewSeed),
ResNewSeed(LairApiResNewSeed),
ReqExportSeedByTag(LairApiReqExportSeedByTag),
ResExportSeedByTag(LairApiResExportSeedByTag),
ReqImportSeed(LairApiReqImportSeed),
ResImportSeed(LairApiResImportSeed),
ReqDeriveSeed(LairApiReqDeriveSeed),
ResDeriveSeed(LairApiResDeriveSeed),
ReqSignByPubKey(LairApiReqSignByPubKey),
ResSignByPubKey(LairApiResSignByPubKey),
ReqCryptoBoxXSalsaByPubKey(LairApiReqCryptoBoxXSalsaByPubKey),
ResCryptoBoxXSalsaByPubKey(LairApiResCryptoBoxXSalsaByPubKey),
ReqCryptoBoxXSalsaOpenByPubKey(LairApiReqCryptoBoxXSalsaOpenByPubKey),
ResCryptoBoxXSalsaOpenByPubKey(LairApiResCryptoBoxXSalsaOpenByPubKey),
ReqNewWkaTlsCert(LairApiReqNewWkaTlsCert),
ResNewWkaTlsCert(LairApiResNewWkaTlsCert),
ReqGetWkaTlsCertPrivKey(LairApiReqGetWkaTlsCertPrivKey),
ResGetWkaTlsCertPrivKey(LairApiResGetWkaTlsCertPrivKey),
ReqSecretBoxXSalsaByTag(LairApiReqSecretBoxXSalsaByTag),
ResSecretBoxXSalsaByTag(LairApiResSecretBoxXSalsaByTag),
ReqSecretBoxXSalsaOpenByTag(LairApiReqSecretBoxXSalsaOpenByTag),
ResSecretBoxXSalsaOpenByTag(LairApiResSecretBoxXSalsaOpenByTag),
}
Expand description
Lair api enum.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ResError(LairApiResError)
An error response from the remote instance.
ReqHello(LairApiReqHello)
Initiate communication with the target lair instance.
ResHello(LairApiResHello)
The hello response from the target lair instance. This data allows us to verify we are speaking to our expected target.
ReqUnlock(LairApiReqUnlock)
Unlock the keystore – this verifies the client to the keystore.
ResUnlock(LairApiResUnlock)
Sucess / Failure of the unlock request.
ReqGetEntry(LairApiReqGetEntry)
Get entry_info for an entry by tag from lair.
ResGetEntry(LairApiResGetEntry)
Response to a GetEntry request.
ReqListEntries(LairApiReqListEntries)
Request a list of entries from lair.
ResListEntries(LairApiResListEntries)
Respond to a list entries request.
ReqNewSeed(LairApiReqNewSeed)
Instruct lair to generate a new seed from cryptographically secure random data with given tag.
ResNewSeed(LairApiResNewSeed)
On new seed generation, lair will respond with info about that seed.
ReqExportSeedByTag(LairApiReqExportSeedByTag)
Export a seed (if it is marked exportable) for a specific target using the crypto box xsalsa20poly1305 algorithm.
ResExportSeedByTag(LairApiResExportSeedByTag)
Response for export seed by tag.
ReqImportSeed(LairApiReqImportSeed)
Import a seed encrypted as a xsalsa20poly1305 secretbox.
ResImportSeed(LairApiResImportSeed)
Response for import seed.
ReqDeriveSeed(LairApiReqDeriveSeed)
Derive a new seed from an existing one according to a specified derivation path.
ResDeriveSeed(LairApiResDeriveSeed)
Response for drive seed.
ReqSignByPubKey(LairApiReqSignByPubKey)
Request a signature.
ResSignByPubKey(LairApiResSignByPubKey)
A signature response.
ReqCryptoBoxXSalsaByPubKey(LairApiReqCryptoBoxXSalsaByPubKey)
Request “crypto_box” encryption.
ResCryptoBoxXSalsaByPubKey(LairApiResCryptoBoxXSalsaByPubKey)
A “crypto_box” encryption response.
ReqCryptoBoxXSalsaOpenByPubKey(LairApiReqCryptoBoxXSalsaOpenByPubKey)
Request “crypto_box_open” decryption.
ResCryptoBoxXSalsaOpenByPubKey(LairApiResCryptoBoxXSalsaOpenByPubKey)
A “crypto_box_open” decryption response.
ReqNewWkaTlsCert(LairApiReqNewWkaTlsCert)
Instruct lair to generate a new wka tls certificate from cryptographically secure random data with given tag.
ResNewWkaTlsCert(LairApiResNewWkaTlsCert)
On new cert generation, lair will respond with info about that cert.
ReqGetWkaTlsCertPrivKey(LairApiReqGetWkaTlsCertPrivKey)
Request the private key associated with a tagged wka tls cert.
ResGetWkaTlsCertPrivKey(LairApiResGetWkaTlsCertPrivKey)
Returns the private key associated with a tagged wka tls cert.
ReqSecretBoxXSalsaByTag(LairApiReqSecretBoxXSalsaByTag)
Request “secretbox” encryption.
ResSecretBoxXSalsaByTag(LairApiResSecretBoxXSalsaByTag)
A “secretbox” encryption response.
ReqSecretBoxXSalsaOpenByTag(LairApiReqSecretBoxXSalsaOpenByTag)
Request “secretbox” decryption.
ResSecretBoxXSalsaOpenByTag(LairApiResSecretBoxXSalsaOpenByTag)
A “secretbox” decryption response.
Implementations§
Trait Implementations§
source§impl Debug for LairApiEnum
impl Debug for LairApiEnum
source§impl<'de> Deserialize<'de> for LairApiEnum
impl<'de> Deserialize<'de> for LairApiEnum
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<LairApiEnum, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<LairApiEnum, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
source§impl Serialize for LairApiEnum
impl Serialize for LairApiEnum
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
source§impl TryFrom<LairApiEnum> for LairApiReqCryptoBoxXSalsaByPubKey
impl TryFrom<LairApiEnum> for LairApiReqCryptoBoxXSalsaByPubKey
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqCryptoBoxXSalsaByPubKey, <LairApiReqCryptoBoxXSalsaByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqCryptoBoxXSalsaByPubKey, <LairApiReqCryptoBoxXSalsaByPubKey as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqCryptoBoxXSalsaOpenByPubKey
impl TryFrom<LairApiEnum> for LairApiReqCryptoBoxXSalsaOpenByPubKey
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqCryptoBoxXSalsaOpenByPubKey, <LairApiReqCryptoBoxXSalsaOpenByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqCryptoBoxXSalsaOpenByPubKey, <LairApiReqCryptoBoxXSalsaOpenByPubKey as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqDeriveSeed
impl TryFrom<LairApiEnum> for LairApiReqDeriveSeed
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqDeriveSeed, <LairApiReqDeriveSeed as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqDeriveSeed, <LairApiReqDeriveSeed as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqExportSeedByTag
impl TryFrom<LairApiEnum> for LairApiReqExportSeedByTag
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqExportSeedByTag, <LairApiReqExportSeedByTag as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqExportSeedByTag, <LairApiReqExportSeedByTag as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqGetEntry
impl TryFrom<LairApiEnum> for LairApiReqGetEntry
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqGetEntry, <LairApiReqGetEntry as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqGetEntry, <LairApiReqGetEntry as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqGetWkaTlsCertPrivKey
impl TryFrom<LairApiEnum> for LairApiReqGetWkaTlsCertPrivKey
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqGetWkaTlsCertPrivKey, <LairApiReqGetWkaTlsCertPrivKey as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqGetWkaTlsCertPrivKey, <LairApiReqGetWkaTlsCertPrivKey as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqHello
impl TryFrom<LairApiEnum> for LairApiReqHello
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqHello, <LairApiReqHello as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqHello, <LairApiReqHello as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqImportSeed
impl TryFrom<LairApiEnum> for LairApiReqImportSeed
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqImportSeed, <LairApiReqImportSeed as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqImportSeed, <LairApiReqImportSeed as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqListEntries
impl TryFrom<LairApiEnum> for LairApiReqListEntries
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqListEntries, <LairApiReqListEntries as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqListEntries, <LairApiReqListEntries as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqNewSeed
impl TryFrom<LairApiEnum> for LairApiReqNewSeed
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqNewSeed, <LairApiReqNewSeed as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqNewSeed, <LairApiReqNewSeed as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqNewWkaTlsCert
impl TryFrom<LairApiEnum> for LairApiReqNewWkaTlsCert
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqNewWkaTlsCert, <LairApiReqNewWkaTlsCert as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqNewWkaTlsCert, <LairApiReqNewWkaTlsCert as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqSecretBoxXSalsaByTag
impl TryFrom<LairApiEnum> for LairApiReqSecretBoxXSalsaByTag
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqSecretBoxXSalsaByTag, <LairApiReqSecretBoxXSalsaByTag as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqSecretBoxXSalsaByTag, <LairApiReqSecretBoxXSalsaByTag as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqSecretBoxXSalsaOpenByTag
impl TryFrom<LairApiEnum> for LairApiReqSecretBoxXSalsaOpenByTag
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqSecretBoxXSalsaOpenByTag, <LairApiReqSecretBoxXSalsaOpenByTag as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqSecretBoxXSalsaOpenByTag, <LairApiReqSecretBoxXSalsaOpenByTag as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqSignByPubKey
impl TryFrom<LairApiEnum> for LairApiReqSignByPubKey
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqSignByPubKey, <LairApiReqSignByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqSignByPubKey, <LairApiReqSignByPubKey as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiReqUnlock
impl TryFrom<LairApiEnum> for LairApiReqUnlock
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqUnlock, <LairApiReqUnlock as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiReqUnlock, <LairApiReqUnlock as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResCryptoBoxXSalsaByPubKey
impl TryFrom<LairApiEnum> for LairApiResCryptoBoxXSalsaByPubKey
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResCryptoBoxXSalsaByPubKey, <LairApiResCryptoBoxXSalsaByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResCryptoBoxXSalsaByPubKey, <LairApiResCryptoBoxXSalsaByPubKey as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResCryptoBoxXSalsaOpenByPubKey
impl TryFrom<LairApiEnum> for LairApiResCryptoBoxXSalsaOpenByPubKey
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResCryptoBoxXSalsaOpenByPubKey, <LairApiResCryptoBoxXSalsaOpenByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResCryptoBoxXSalsaOpenByPubKey, <LairApiResCryptoBoxXSalsaOpenByPubKey as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResDeriveSeed
impl TryFrom<LairApiEnum> for LairApiResDeriveSeed
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResDeriveSeed, <LairApiResDeriveSeed as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResDeriveSeed, <LairApiResDeriveSeed as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResError
impl TryFrom<LairApiEnum> for LairApiResError
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResError, <LairApiResError as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResError, <LairApiResError as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResExportSeedByTag
impl TryFrom<LairApiEnum> for LairApiResExportSeedByTag
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResExportSeedByTag, <LairApiResExportSeedByTag as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResExportSeedByTag, <LairApiResExportSeedByTag as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResGetEntry
impl TryFrom<LairApiEnum> for LairApiResGetEntry
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResGetEntry, <LairApiResGetEntry as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResGetEntry, <LairApiResGetEntry as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResGetWkaTlsCertPrivKey
impl TryFrom<LairApiEnum> for LairApiResGetWkaTlsCertPrivKey
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResGetWkaTlsCertPrivKey, <LairApiResGetWkaTlsCertPrivKey as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResGetWkaTlsCertPrivKey, <LairApiResGetWkaTlsCertPrivKey as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResHello
impl TryFrom<LairApiEnum> for LairApiResHello
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResHello, <LairApiResHello as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResHello, <LairApiResHello as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResImportSeed
impl TryFrom<LairApiEnum> for LairApiResImportSeed
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResImportSeed, <LairApiResImportSeed as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResImportSeed, <LairApiResImportSeed as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResListEntries
impl TryFrom<LairApiEnum> for LairApiResListEntries
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResListEntries, <LairApiResListEntries as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResListEntries, <LairApiResListEntries as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResNewSeed
impl TryFrom<LairApiEnum> for LairApiResNewSeed
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResNewSeed, <LairApiResNewSeed as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResNewSeed, <LairApiResNewSeed as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResNewWkaTlsCert
impl TryFrom<LairApiEnum> for LairApiResNewWkaTlsCert
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResNewWkaTlsCert, <LairApiResNewWkaTlsCert as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResNewWkaTlsCert, <LairApiResNewWkaTlsCert as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResSecretBoxXSalsaByTag
impl TryFrom<LairApiEnum> for LairApiResSecretBoxXSalsaByTag
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResSecretBoxXSalsaByTag, <LairApiResSecretBoxXSalsaByTag as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResSecretBoxXSalsaByTag, <LairApiResSecretBoxXSalsaByTag as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResSecretBoxXSalsaOpenByTag
impl TryFrom<LairApiEnum> for LairApiResSecretBoxXSalsaOpenByTag
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResSecretBoxXSalsaOpenByTag, <LairApiResSecretBoxXSalsaOpenByTag as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResSecretBoxXSalsaOpenByTag, <LairApiResSecretBoxXSalsaOpenByTag as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResSignByPubKey
impl TryFrom<LairApiEnum> for LairApiResSignByPubKey
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResSignByPubKey, <LairApiResSignByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResSignByPubKey, <LairApiResSignByPubKey as TryFrom<LairApiEnum>>::Error>
source§impl TryFrom<LairApiEnum> for LairApiResUnlock
impl TryFrom<LairApiEnum> for LairApiResUnlock
source§fn try_from(
e: LairApiEnum
) -> Result<LairApiResUnlock, <LairApiResUnlock as TryFrom<LairApiEnum>>::Error>
fn try_from( e: LairApiEnum ) -> Result<LairApiResUnlock, <LairApiResUnlock as TryFrom<LairApiEnum>>::Error>
Auto Trait Implementations§
impl !RefUnwindSafe for LairApiEnum
impl Send for LairApiEnum
impl Sync for LairApiEnum
impl Unpin for LairApiEnum
impl !UnwindSafe for LairApiEnum
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
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
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> 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> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.