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