[][src]Struct lightning::ln::msgs::ChannelReestablish

pub struct ChannelReestablish {
    pub channel_id: [u8; 32],
    pub next_local_commitment_number: u64,
    pub next_remote_commitment_number: u64,
    pub data_loss_protect: OptionalField<DataLossProtect>,
}

A channel_reestablish message to be sent or received from a peer

Fields

channel_id: [u8; 32]

The channel ID

next_local_commitment_number: u64

The next commitment number for the sender

next_remote_commitment_number: u64

The next commitment number for the recipient

data_loss_protect: OptionalField<DataLossProtect>

Optionally, a field proving that next_remote_commitment_number-1 has been revoked

Trait Implementations

impl Clone for ChannelReestablish[src]

impl PartialEq<ChannelReestablish> for ChannelReestablish[src]

impl Readable for ChannelReestablish[src]

impl StructuralPartialEq for ChannelReestablish[src]

impl Writeable for ChannelReestablish[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.