Enum framing_sv2::framing2::EitherFrame [−][src]
pub enum EitherFrame<T, B> { HandShake(HandShakeFrame), Sv2(Sv2Frame<T, B>), }
Expand description
A frame can be either 1: Sv2Frame 2: NoiseFrame 3: HandashakeFrame
Variants
HandShake(HandShakeFrame)
Sv2(Sv2Frame<T, B>)
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<T, B> RefUnwindSafe for EitherFrame<T, B> where
B: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, B> Send for EitherFrame<T, B> where
B: Send,
T: Send,
impl<T, B> Sync for EitherFrame<T, B> where
B: Sync,
T: Sync,
impl<T, B> Unpin for EitherFrame<T, B> where
B: Unpin,
T: Unpin,
impl<T, B> UnwindSafe for EitherFrame<T, B> where
B: UnwindSafe,
T: UnwindSafe,