Struct lightning::ln::msgs::Pong [−][src]
pub struct Pong { pub byteslen: u16, }
Expand description
A pong message to be sent 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
Writes self out to a Vec
Writes self out to a Vec
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Auto Trait Implementations
impl RefUnwindSafe for Pong
impl UnwindSafe for Pong
Blanket Implementations
Mutably borrows from an owned value. Read more