pub struct ReestablishChannel(/* private fields */);Implementations§
Source§impl ReestablishChannel
impl ReestablishChannel
pub const FIELD_COUNT: usize = 3
pub fn total_size(&self) -> usize
pub fn field_count(&self) -> usize
pub fn count_extra_fields(&self) -> usize
pub fn has_extra_fields(&self) -> bool
pub fn channel_id(&self) -> Byte32
pub fn local_commitment_number(&self) -> Uint64
pub fn remote_commitment_number(&self) -> Uint64
pub fn as_reader<'r>(&'r self) -> ReestablishChannelReader<'r>
Trait Implementations§
Source§impl Clone for ReestablishChannel
impl Clone for ReestablishChannel
Source§fn clone(&self) -> ReestablishChannel
fn clone(&self) -> ReestablishChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReestablishChannel
impl Debug for ReestablishChannel
Source§impl Default for ReestablishChannel
impl Default for ReestablishChannel
Source§impl Display for ReestablishChannel
impl Display for ReestablishChannel
Source§impl Entity for ReestablishChannel
impl Entity for ReestablishChannel
const NAME: &'static str = "ReestablishChannel"
type Builder = ReestablishChannelBuilder
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
Source§impl From<ReestablishChannel> for FiberMessage
impl From<ReestablishChannel> for FiberMessage
Source§fn from(value: ReestablishChannel) -> Self
fn from(value: ReestablishChannel) -> Self
Converts to this type from the input type.
Source§impl From<ReestablishChannel> for FiberMessageUnion
impl From<ReestablishChannel> for FiberMessageUnion
Source§fn from(item: ReestablishChannel) -> Self
fn from(item: ReestablishChannel) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ReestablishChannel
impl RefUnwindSafe for ReestablishChannel
impl Send for ReestablishChannel
impl Sync for ReestablishChannel
impl Unpin for ReestablishChannel
impl UnsafeUnpin for ReestablishChannel
impl UnwindSafe for ReestablishChannel
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