pub enum DataPhase {
None,
CommandData(Vec<u8>),
ResponseData,
}Expand description
Signifies which of the three cases of the protocol is used.
Note that there is no situation where both command and response have a data phase.
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for DataPhase
impl Ord for DataPhase
Source§impl PartialOrd for DataPhase
impl PartialOrd for DataPhase
impl Eq for DataPhase
impl StructuralPartialEq for DataPhase
Auto Trait Implementations§
impl Freeze for DataPhase
impl RefUnwindSafe for DataPhase
impl Send for DataPhase
impl Sync for DataPhase
impl Unpin for DataPhase
impl UnwindSafe for DataPhase
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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