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