Enum ckb_types::packed::PingPayloadUnionReader
source · [−]pub enum PingPayloadUnionReader<'r> {
Ping(PingReader<'r>),
Pong(PongReader<'r>),
}
Variants
Ping(PingReader<'r>)
Pong(PongReader<'r>)
Implementations
Trait Implementations
sourceimpl<'r> Clone for PingPayloadUnionReader<'r>
impl<'r> Clone for PingPayloadUnionReader<'r>
sourcefn clone(&self) -> PingPayloadUnionReader<'r>
fn clone(&self) -> PingPayloadUnionReader<'r>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'r> Debug for PingPayloadUnionReader<'r>
impl<'r> Debug for PingPayloadUnionReader<'r>
sourceimpl<'r> Display for PingPayloadUnionReader<'r>
impl<'r> Display for PingPayloadUnionReader<'r>
sourceimpl<'r> From<PingReader<'r>> for PingPayloadUnionReader<'r>
impl<'r> From<PingReader<'r>> for PingPayloadUnionReader<'r>
sourcefn from(item: PingReader<'r>) -> Self
fn from(item: PingReader<'r>) -> Self
Converts to this type from the input type.
sourceimpl<'r> From<PongReader<'r>> for PingPayloadUnionReader<'r>
impl<'r> From<PongReader<'r>> for PingPayloadUnionReader<'r>
sourcefn from(item: PongReader<'r>) -> Self
fn from(item: PongReader<'r>) -> Self
Converts to this type from the input type.
impl<'r> Copy for PingPayloadUnionReader<'r>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more