pub struct CommitmentSigned(/* private fields */);Implementations§
Source§impl CommitmentSigned
impl CommitmentSigned
pub const TOTAL_SIZE: usize = 130
pub const FIELD_SIZES: [usize; 3]
pub const FIELD_COUNT: usize = 3
pub fn channel_id(&self) -> Byte32
pub fn funding_tx_partial_signature(&self) -> Byte32
pub fn next_commitment_nonce(&self) -> PubNonce
pub fn as_reader<'r>(&'r self) -> CommitmentSignedReader<'r>
Trait Implementations§
Source§impl Clone for CommitmentSigned
impl Clone for CommitmentSigned
Source§fn clone(&self) -> CommitmentSigned
fn clone(&self) -> CommitmentSigned
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 CommitmentSigned
impl Debug for CommitmentSigned
Source§impl Default for CommitmentSigned
impl Default for CommitmentSigned
Source§impl Display for CommitmentSigned
impl Display for CommitmentSigned
Source§impl Entity for CommitmentSigned
impl Entity for CommitmentSigned
const NAME: &'static str = "CommitmentSigned"
type Builder = CommitmentSignedBuilder
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<CommitmentSigned> for FiberMessage
impl From<CommitmentSigned> for FiberMessage
Source§fn from(value: CommitmentSigned) -> Self
fn from(value: CommitmentSigned) -> Self
Converts to this type from the input type.
Source§impl From<CommitmentSigned> for FiberMessageUnion
impl From<CommitmentSigned> for FiberMessageUnion
Source§fn from(item: CommitmentSigned) -> Self
fn from(item: CommitmentSigned) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for CommitmentSigned
impl RefUnwindSafe for CommitmentSigned
impl Send for CommitmentSigned
impl Sync for CommitmentSigned
impl Unpin for CommitmentSigned
impl UnsafeUnpin for CommitmentSigned
impl UnwindSafe for CommitmentSigned
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