Enum webrtc_dtls::curve::named_curve::NamedCurve
source · [−]pub enum NamedCurve {
P256,
P384,
X25519,
Unsupported,
}
Variants
P256
P384
X25519
Unsupported
Implementations
sourceimpl NamedCurve
impl NamedCurve
pub fn generate_keypair(&self) -> Result<NamedCurveKeypair, Error>
Trait Implementations
sourceimpl Clone for NamedCurve
impl Clone for NamedCurve
sourcefn clone(&self) -> NamedCurve
fn clone(&self) -> NamedCurve
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NamedCurve
impl Debug for NamedCurve
sourceimpl From<u16> for NamedCurve
impl From<u16> for NamedCurve
sourceimpl PartialEq<NamedCurve> for NamedCurve
impl PartialEq<NamedCurve> for NamedCurve
impl Copy for NamedCurve
impl Eq for NamedCurve
impl StructuralEq for NamedCurve
impl StructuralPartialEq for NamedCurve
Auto Trait Implementations
impl RefUnwindSafe for NamedCurve
impl Send for NamedCurve
impl Sync for NamedCurve
impl Unpin for NamedCurve
impl UnwindSafe for NamedCurve
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more