Trait lightning::ln::msgs::MsgEncodable [−][src]
pub trait MsgEncodable { fn encode(&self) -> Vec<u8>; fn encoded_len(&self) -> usize { ... } fn encode_with_len(&self) -> Vec<u8> { ... } }
Required Methods
Provided Methods
Implementors
impl MsgEncodable for LocalFeatures
impl MsgEncodable for GlobalFeatures
impl MsgEncodable for Init
impl MsgEncodable for Ping
impl MsgEncodable for Pong
impl MsgEncodable for OpenChannel
impl MsgEncodable for AcceptChannel
impl MsgEncodable for FundingCreated
impl MsgEncodable for FundingSigned
impl MsgEncodable for FundingLocked
impl MsgEncodable for Shutdown
impl MsgEncodable for ClosingSigned
impl MsgEncodable for UpdateAddHTLC
impl MsgEncodable for UpdateFulfillHTLC
impl MsgEncodable for UpdateFailHTLC
impl MsgEncodable for UpdateFailMalformedHTLC
impl MsgEncodable for CommitmentSigned
impl MsgEncodable for RevokeAndACK
impl MsgEncodable for UpdateFee
impl MsgEncodable for ChannelReestablish
impl MsgEncodable for AnnouncementSignatures
impl MsgEncodable for UnsignedNodeAnnouncement
impl MsgEncodable for NodeAnnouncement
impl MsgEncodable for UnsignedChannelAnnouncement
impl MsgEncodable for ChannelAnnouncement
impl MsgEncodable for UnsignedChannelUpdate
impl MsgEncodable for ChannelUpdate
impl MsgEncodable for OnionRealm0HopData
impl MsgEncodable for OnionHopData
impl MsgEncodable for OnionPacket
impl MsgEncodable for DecodedOnionErrorPacket
impl MsgEncodable for OnionErrorPacket