Enum holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::prelude::LairApiEnum
#[non_exhaustive]
pub enum LairApiEnum {
Show 29 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),
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.
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§
§impl LairApiEnum
impl LairApiEnum
Trait Implementations§
§impl Debug for LairApiEnum
impl Debug for LairApiEnum
§impl<'de> Deserialize<'de> for LairApiEnum
impl<'de> Deserialize<'de> for LairApiEnum
§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>,
§impl Serialize for LairApiEnum
impl Serialize for LairApiEnum
§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,
§impl TryFrom<LairApiEnum> for LairApiReqCryptoBoxXSalsaByPubKey
impl TryFrom<LairApiEnum> for LairApiReqCryptoBoxXSalsaByPubKey
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqCryptoBoxXSalsaByPubKey, <LairApiReqCryptoBoxXSalsaByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqCryptoBoxXSalsaByPubKey, <LairApiReqCryptoBoxXSalsaByPubKey as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqCryptoBoxXSalsaOpenByPubKey
impl TryFrom<LairApiEnum> for LairApiReqCryptoBoxXSalsaOpenByPubKey
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqCryptoBoxXSalsaOpenByPubKey, <LairApiReqCryptoBoxXSalsaOpenByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqCryptoBoxXSalsaOpenByPubKey, <LairApiReqCryptoBoxXSalsaOpenByPubKey as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqExportSeedByTag
impl TryFrom<LairApiEnum> for LairApiReqExportSeedByTag
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqExportSeedByTag, <LairApiReqExportSeedByTag as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqExportSeedByTag, <LairApiReqExportSeedByTag as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqGetEntry
impl TryFrom<LairApiEnum> for LairApiReqGetEntry
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqGetEntry, <LairApiReqGetEntry as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqGetEntry, <LairApiReqGetEntry as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqGetWkaTlsCertPrivKey
impl TryFrom<LairApiEnum> for LairApiReqGetWkaTlsCertPrivKey
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqGetWkaTlsCertPrivKey, <LairApiReqGetWkaTlsCertPrivKey as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqGetWkaTlsCertPrivKey, <LairApiReqGetWkaTlsCertPrivKey as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqHello
impl TryFrom<LairApiEnum> for LairApiReqHello
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqHello, <LairApiReqHello as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqHello, <LairApiReqHello as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqImportSeed
impl TryFrom<LairApiEnum> for LairApiReqImportSeed
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqImportSeed, <LairApiReqImportSeed as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqImportSeed, <LairApiReqImportSeed as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqListEntries
impl TryFrom<LairApiEnum> for LairApiReqListEntries
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqListEntries, <LairApiReqListEntries as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqListEntries, <LairApiReqListEntries as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqNewSeed
impl TryFrom<LairApiEnum> for LairApiReqNewSeed
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqNewSeed, <LairApiReqNewSeed as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqNewSeed, <LairApiReqNewSeed as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqNewWkaTlsCert
impl TryFrom<LairApiEnum> for LairApiReqNewWkaTlsCert
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqNewWkaTlsCert, <LairApiReqNewWkaTlsCert as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqNewWkaTlsCert, <LairApiReqNewWkaTlsCert as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqSecretBoxXSalsaByTag
impl TryFrom<LairApiEnum> for LairApiReqSecretBoxXSalsaByTag
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqSecretBoxXSalsaByTag, <LairApiReqSecretBoxXSalsaByTag as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqSecretBoxXSalsaByTag, <LairApiReqSecretBoxXSalsaByTag as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqSecretBoxXSalsaOpenByTag
impl TryFrom<LairApiEnum> for LairApiReqSecretBoxXSalsaOpenByTag
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqSecretBoxXSalsaOpenByTag, <LairApiReqSecretBoxXSalsaOpenByTag as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqSecretBoxXSalsaOpenByTag, <LairApiReqSecretBoxXSalsaOpenByTag as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqSignByPubKey
impl TryFrom<LairApiEnum> for LairApiReqSignByPubKey
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqSignByPubKey, <LairApiReqSignByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqSignByPubKey, <LairApiReqSignByPubKey as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiReqUnlock
impl TryFrom<LairApiEnum> for LairApiReqUnlock
§fn try_from(
e: LairApiEnum
) -> Result<LairApiReqUnlock, <LairApiReqUnlock as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiReqUnlock, <LairApiReqUnlock as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResCryptoBoxXSalsaByPubKey
impl TryFrom<LairApiEnum> for LairApiResCryptoBoxXSalsaByPubKey
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResCryptoBoxXSalsaByPubKey, <LairApiResCryptoBoxXSalsaByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResCryptoBoxXSalsaByPubKey, <LairApiResCryptoBoxXSalsaByPubKey as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResCryptoBoxXSalsaOpenByPubKey
impl TryFrom<LairApiEnum> for LairApiResCryptoBoxXSalsaOpenByPubKey
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResCryptoBoxXSalsaOpenByPubKey, <LairApiResCryptoBoxXSalsaOpenByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResCryptoBoxXSalsaOpenByPubKey, <LairApiResCryptoBoxXSalsaOpenByPubKey as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResError
impl TryFrom<LairApiEnum> for LairApiResError
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResError, <LairApiResError as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResError, <LairApiResError as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResExportSeedByTag
impl TryFrom<LairApiEnum> for LairApiResExportSeedByTag
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResExportSeedByTag, <LairApiResExportSeedByTag as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResExportSeedByTag, <LairApiResExportSeedByTag as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResGetEntry
impl TryFrom<LairApiEnum> for LairApiResGetEntry
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResGetEntry, <LairApiResGetEntry as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResGetEntry, <LairApiResGetEntry as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResGetWkaTlsCertPrivKey
impl TryFrom<LairApiEnum> for LairApiResGetWkaTlsCertPrivKey
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResGetWkaTlsCertPrivKey, <LairApiResGetWkaTlsCertPrivKey as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResGetWkaTlsCertPrivKey, <LairApiResGetWkaTlsCertPrivKey as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResHello
impl TryFrom<LairApiEnum> for LairApiResHello
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResHello, <LairApiResHello as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResHello, <LairApiResHello as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResImportSeed
impl TryFrom<LairApiEnum> for LairApiResImportSeed
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResImportSeed, <LairApiResImportSeed as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResImportSeed, <LairApiResImportSeed as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResListEntries
impl TryFrom<LairApiEnum> for LairApiResListEntries
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResListEntries, <LairApiResListEntries as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResListEntries, <LairApiResListEntries as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResNewSeed
impl TryFrom<LairApiEnum> for LairApiResNewSeed
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResNewSeed, <LairApiResNewSeed as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResNewSeed, <LairApiResNewSeed as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResNewWkaTlsCert
impl TryFrom<LairApiEnum> for LairApiResNewWkaTlsCert
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResNewWkaTlsCert, <LairApiResNewWkaTlsCert as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResNewWkaTlsCert, <LairApiResNewWkaTlsCert as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResSecretBoxXSalsaByTag
impl TryFrom<LairApiEnum> for LairApiResSecretBoxXSalsaByTag
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResSecretBoxXSalsaByTag, <LairApiResSecretBoxXSalsaByTag as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResSecretBoxXSalsaByTag, <LairApiResSecretBoxXSalsaByTag as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResSecretBoxXSalsaOpenByTag
impl TryFrom<LairApiEnum> for LairApiResSecretBoxXSalsaOpenByTag
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResSecretBoxXSalsaOpenByTag, <LairApiResSecretBoxXSalsaOpenByTag as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResSecretBoxXSalsaOpenByTag, <LairApiResSecretBoxXSalsaOpenByTag as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResSignByPubKey
impl TryFrom<LairApiEnum> for LairApiResSignByPubKey
§fn try_from(
e: LairApiEnum
) -> Result<LairApiResSignByPubKey, <LairApiResSignByPubKey as TryFrom<LairApiEnum>>::Error>
fn try_from(
e: LairApiEnum
) -> Result<LairApiResSignByPubKey, <LairApiResSignByPubKey as TryFrom<LairApiEnum>>::Error>
§impl TryFrom<LairApiEnum> for LairApiResUnlock
impl TryFrom<LairApiEnum> for LairApiResUnlock
§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§
§impl<T> Any for Twhere
T: Any + ?Sized,
impl<T> Any for Twhere
T: Any + ?Sized,
§fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
§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>
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§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> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§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).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.