pub struct ChannelFailed(/* private fields */);Implementations§
Source§impl ChannelFailed
impl ChannelFailed
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_outpoint(&self) -> OutPoint
pub fn channel_update(&self) -> ChannelUpdateOpt
pub fn node_id(&self) -> Pubkey
pub fn as_reader<'r>(&'r self) -> ChannelFailedReader<'r>
Trait Implementations§
Source§impl Clone for ChannelFailed
impl Clone for ChannelFailed
Source§fn clone(&self) -> ChannelFailed
fn clone(&self) -> ChannelFailed
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 ChannelFailed
impl Debug for ChannelFailed
Source§impl Default for ChannelFailed
impl Default for ChannelFailed
Source§impl Display for ChannelFailed
impl Display for ChannelFailed
Source§impl Entity for ChannelFailed
impl Entity for ChannelFailed
const NAME: &'static str = "ChannelFailed"
type Builder = ChannelFailedBuilder
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<ChannelFailed> for TlcErrData
impl From<ChannelFailed> for TlcErrData
Source§fn from(value: ChannelFailed) -> Self
fn from(value: ChannelFailed) -> Self
Converts to this type from the input type.
Source§impl From<ChannelFailed> for TlcErrDataUnion
impl From<ChannelFailed> for TlcErrDataUnion
Source§fn from(item: ChannelFailed) -> Self
fn from(item: ChannelFailed) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ChannelFailed
impl RefUnwindSafe for ChannelFailed
impl Send for ChannelFailed
impl Sync for ChannelFailed
impl Unpin for ChannelFailed
impl UnsafeUnpin for ChannelFailed
impl UnwindSafe for ChannelFailed
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