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