Struct lightning::ln::msgs::Ping [−][src]
Expand description
A ping message to be sent or received from a peer
Fields
ponglen: u16
The desired response length
byteslen: u16
The ping 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 Ping
impl UnwindSafe for Ping
Blanket Implementations
Mutably borrows from an owned value. Read more