pub struct Pong {
pub byteslen: u16,
}
Expand description
A pong
message to be sent to or received from a peer.
Fields§
§byteslen: u16
The pong packet size.
This field is not sent on the wire. byteslen zeros are sent.
Trait Implementations§
source§impl PartialEq<Pong> for Pong
impl PartialEq<Pong> for Pong
source§impl Writeable for Pong
impl Writeable for Pong
impl Eq for Pong
impl StructuralEq for Pong
impl StructuralPartialEq for Pong
Auto Trait Implementations§
impl RefUnwindSafe for Pong
impl Send for Pong
impl Sync for Pong
impl Unpin for Pong
impl UnwindSafe for Pong
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