pub enum PingPayloadUnionReader<'r> {
Ping(PingReader<'r>),
Pong(PongReader<'r>),
}
Variants§
Ping(PingReader<'r>)
Pong(PongReader<'r>)
Implementations§
Trait Implementations§
Source§impl<'r> Clone for PingPayloadUnionReader<'r>
impl<'r> Clone for PingPayloadUnionReader<'r>
Source§fn clone(&self) -> PingPayloadUnionReader<'r>
fn clone(&self) -> PingPayloadUnionReader<'r>
Returns a copy 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<'r> Debug for PingPayloadUnionReader<'r>
impl<'r> Debug for PingPayloadUnionReader<'r>
Source§impl<'r> Display for PingPayloadUnionReader<'r>
impl<'r> Display for PingPayloadUnionReader<'r>
Source§impl<'r> From<PingReader<'r>> for PingPayloadUnionReader<'r>
impl<'r> From<PingReader<'r>> for PingPayloadUnionReader<'r>
Source§fn from(item: PingReader<'r>) -> PingPayloadUnionReader<'r>
fn from(item: PingReader<'r>) -> PingPayloadUnionReader<'r>
Converts to this type from the input type.
Source§impl<'r> From<PongReader<'r>> for PingPayloadUnionReader<'r>
impl<'r> From<PongReader<'r>> for PingPayloadUnionReader<'r>
Source§fn from(item: PongReader<'r>) -> PingPayloadUnionReader<'r>
fn from(item: PongReader<'r>) -> PingPayloadUnionReader<'r>
Converts to this type from the input type.
impl<'r> Copy for PingPayloadUnionReader<'r>
Auto Trait Implementations§
impl<'r> Freeze for PingPayloadUnionReader<'r>
impl<'r> RefUnwindSafe for PingPayloadUnionReader<'r>
impl<'r> Send for PingPayloadUnionReader<'r>
impl<'r> Sync for PingPayloadUnionReader<'r>
impl<'r> Unpin for PingPayloadUnionReader<'r>
impl<'r> UnwindSafe for PingPayloadUnionReader<'r>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)