pub enum NegotiationKind {
Offer,
Renegotiate,
}Variants§
Trait Implementations§
Source§impl Clone for NegotiationKind
impl Clone for NegotiationKind
Source§fn clone(&self) -> NegotiationKind
fn clone(&self) -> NegotiationKind
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 NegotiationKind
impl Debug for NegotiationKind
Source§impl<'de> Deserialize<'de> for NegotiationKind
impl<'de> Deserialize<'de> for NegotiationKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NegotiationKind
impl PartialEq for NegotiationKind
Source§impl Serialize for NegotiationKind
impl Serialize for NegotiationKind
impl Copy for NegotiationKind
impl Eq for NegotiationKind
impl StructuralPartialEq for NegotiationKind
Auto Trait Implementations§
impl Freeze for NegotiationKind
impl RefUnwindSafe for NegotiationKind
impl Send for NegotiationKind
impl Sync for NegotiationKind
impl Unpin for NegotiationKind
impl UnsafeUnpin for NegotiationKind
impl UnwindSafe for NegotiationKind
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