pub trait HandoverNetwork: Copy {
type Borrowed<'c>: HandoverNetwork + FromTLV<'c> + ToTLV;
// Required methods
fn from_creds<'c>(creds: &WirelessCreds<'c>) -> Option<Self::Borrowed<'c>>;
fn creds(&self) -> WirelessCreds<'_>;
}Expand description
A borrowed view of one staged network, convertible from and to
WirelessCreds.
Required Associated Types§
Sourcetype Borrowed<'c>: HandoverNetwork + FromTLV<'c> + ToTLV
type Borrowed<'c>: HandoverNetwork + FromTLV<'c> + ToTLV
This view type at lifetime 'c.
Required Methods§
Sourcefn from_creds<'c>(creds: &WirelessCreds<'c>) -> Option<Self::Borrowed<'c>>
fn from_creds<'c>(creds: &WirelessCreds<'c>) -> Option<Self::Borrowed<'c>>
The view of creds, if of this kind.
Sourcefn creds(&self) -> WirelessCreds<'_>
fn creds(&self) -> WirelessCreds<'_>
The credentials of this view.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".