#[non_exhaustive]pub enum HandshakeType {
Done,
Agreement,
Conclusion,
Wavehand,
Induction,
Reserved(u32),
}Expand description
Handshake Type (draft-sharabayko-srt-01 §3.2.1, Table 4).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Done
0xFFFFFFFD.
Agreement
0xFFFFFFFE.
Conclusion
0xFFFFFFFF.
Wavehand
0x00000000.
Induction
0x00000001.
Reserved(u32)
A value Table 4 does not define (real SRT implementations also use
this range for REJ_* rejection-reason codes, not standardised here).
Implementations§
Trait Implementations§
Source§impl Clone for HandshakeType
impl Clone for HandshakeType
Source§fn clone(&self) -> HandshakeType
fn clone(&self) -> HandshakeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HandshakeType
Source§impl Debug for HandshakeType
impl Debug for HandshakeType
Source§impl Display for HandshakeType
impl Display for HandshakeType
impl Eq for HandshakeType
Source§impl Hash for HandshakeType
impl Hash for HandshakeType
Source§impl PartialEq for HandshakeType
impl PartialEq for HandshakeType
Source§impl Serialize for HandshakeType
Available on crate feature serde only.
impl Serialize for HandshakeType
Available on crate feature
serde only.impl StructuralPartialEq for HandshakeType
Auto Trait Implementations§
impl Freeze for HandshakeType
impl RefUnwindSafe for HandshakeType
impl Send for HandshakeType
impl Sync for HandshakeType
impl Unpin for HandshakeType
impl UnsafeUnpin for HandshakeType
impl UnwindSafe for HandshakeType
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