pub enum DhConfig {
NotModified(DhConfigNotModified),
DhConfig(DhConfig),
}Expand description
Variants§
NotModified(DhConfigNotModified)
DhConfig(DhConfig)
Trait Implementations§
Source§impl Deserializable for DhConfig
impl Deserializable for DhConfig
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<DhConfigNotModified> for DhConfig
impl From<DhConfigNotModified> for DhConfig
Source§fn from(x: DhConfigNotModified) -> Self
fn from(x: DhConfigNotModified) -> Self
Converts to this type from the input type.
Source§impl Serializable for DhConfig
impl Serializable for DhConfig
Source§impl TryFrom<DhConfig> for DhConfigNotModified
impl TryFrom<DhConfig> for DhConfigNotModified
impl StructuralPartialEq for DhConfig
Auto Trait Implementations§
impl Freeze for DhConfig
impl RefUnwindSafe for DhConfig
impl Send for DhConfig
impl Sync for DhConfig
impl Unpin for DhConfig
impl UnsafeUnpin for DhConfig
impl UnwindSafe for DhConfig
Blanket Implementations§
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