pub enum SetClientDhParamsAnswer {
DhGenOk(DhGenOk),
DhGenRetry(DhGenRetry),
DhGenFail(DhGenFail),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for SetClientDhParamsAnswer
impl Clone for SetClientDhParamsAnswer
Source§fn clone(&self) -> SetClientDhParamsAnswer
fn clone(&self) -> SetClientDhParamsAnswer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetClientDhParamsAnswer
impl Debug for SetClientDhParamsAnswer
Source§impl Deserializable for SetClientDhParamsAnswer
impl Deserializable for SetClientDhParamsAnswer
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<DhGenFail> for SetClientDhParamsAnswer
impl From<DhGenFail> for SetClientDhParamsAnswer
Source§impl From<DhGenOk> for SetClientDhParamsAnswer
impl From<DhGenOk> for SetClientDhParamsAnswer
Source§impl From<DhGenRetry> for SetClientDhParamsAnswer
impl From<DhGenRetry> for SetClientDhParamsAnswer
Source§fn from(x: DhGenRetry) -> Self
fn from(x: DhGenRetry) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetClientDhParamsAnswer
impl PartialEq for SetClientDhParamsAnswer
Source§impl TryFrom<SetClientDhParamsAnswer> for DhGenFail
impl TryFrom<SetClientDhParamsAnswer> for DhGenFail
Source§type Error = SetClientDhParamsAnswer
type Error = SetClientDhParamsAnswer
The type returned in the event of a conversion error.
Source§impl TryFrom<SetClientDhParamsAnswer> for DhGenOk
impl TryFrom<SetClientDhParamsAnswer> for DhGenOk
Source§type Error = SetClientDhParamsAnswer
type Error = SetClientDhParamsAnswer
The type returned in the event of a conversion error.
Source§impl TryFrom<SetClientDhParamsAnswer> for DhGenRetry
impl TryFrom<SetClientDhParamsAnswer> for DhGenRetry
Source§type Error = SetClientDhParamsAnswer
type Error = SetClientDhParamsAnswer
The type returned in the event of a conversion error.
impl StructuralPartialEq for SetClientDhParamsAnswer
Auto Trait Implementations§
impl Freeze for SetClientDhParamsAnswer
impl RefUnwindSafe for SetClientDhParamsAnswer
impl Send for SetClientDhParamsAnswer
impl Sync for SetClientDhParamsAnswer
impl Unpin for SetClientDhParamsAnswer
impl UnsafeUnpin for SetClientDhParamsAnswer
impl UnwindSafe for SetClientDhParamsAnswer
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