Expand description
A funding_signed message to be sent or received from a peer
Fields
channel_id: [u8; 32]
The channel ID
signature: Signature
The signature of the channel acceptor (fundee) on the initial commitment transaction
Trait Implementations
sourceimpl Clone for FundingSigned
impl Clone for FundingSigned
sourcefn clone(&self) -> FundingSigned
fn clone(&self) -> FundingSigned
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FundingSigned
impl Debug for FundingSigned
sourceimpl PartialEq<FundingSigned> for FundingSigned
impl PartialEq<FundingSigned> for FundingSigned
sourcefn eq(&self, other: &FundingSigned) -> bool
fn eq(&self, other: &FundingSigned) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Readable for FundingSigned
impl Readable for FundingSigned
sourceimpl Writeable for FundingSigned
impl Writeable for FundingSigned
sourcefn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Writes self out to a Vec
sourcefn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
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
impl StructuralPartialEq for FundingSigned
Auto Trait Implementations
impl RefUnwindSafe for FundingSigned
impl Send for FundingSigned
impl Sync for FundingSigned
impl Unpin for FundingSigned
impl UnwindSafe for FundingSigned
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more