pub enum FiberMessageUnion {
Show 19 variants
Init(Init),
OpenChannel(OpenChannel),
AcceptChannel(AcceptChannel),
TxSignatures(TxSignatures),
TxUpdate(TxUpdate),
TxComplete(TxComplete),
TxAbort(TxAbort),
TxInitRBF(TxInitRBF),
TxAckRBF(TxAckRBF),
CommitmentSigned(CommitmentSigned),
ChannelReady(ChannelReady),
UpdateTlcInfo(UpdateTlcInfo),
AddTlc(AddTlc),
RemoveTlc(RemoveTlc),
RevokeAndAck(RevokeAndAck),
Shutdown(Shutdown),
ClosingSigned(ClosingSigned),
ReestablishChannel(ReestablishChannel),
AnnouncementSignatures(AnnouncementSignatures),
}Variants§
Init(Init)
OpenChannel(OpenChannel)
AcceptChannel(AcceptChannel)
TxSignatures(TxSignatures)
TxUpdate(TxUpdate)
TxComplete(TxComplete)
TxAbort(TxAbort)
TxInitRBF(TxInitRBF)
TxAckRBF(TxAckRBF)
CommitmentSigned(CommitmentSigned)
ChannelReady(ChannelReady)
UpdateTlcInfo(UpdateTlcInfo)
AddTlc(AddTlc)
RemoveTlc(RemoveTlc)
RevokeAndAck(RevokeAndAck)
Shutdown(Shutdown)
ClosingSigned(ClosingSigned)
ReestablishChannel(ReestablishChannel)
AnnouncementSignatures(AnnouncementSignatures)
Implementations§
Trait Implementations§
Source§impl Clone for FiberMessageUnion
impl Clone for FiberMessageUnion
Source§fn clone(&self) -> FiberMessageUnion
fn clone(&self) -> FiberMessageUnion
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 FiberMessageUnion
impl Debug for FiberMessageUnion
Source§impl Default for FiberMessageUnion
impl Default for FiberMessageUnion
Source§impl Display for FiberMessageUnion
impl Display for FiberMessageUnion
Source§impl From<AcceptChannel> for FiberMessageUnion
impl From<AcceptChannel> for FiberMessageUnion
Source§fn from(item: AcceptChannel) -> Self
fn from(item: AcceptChannel) -> Self
Converts to this type from the input type.
Source§impl From<AddTlc> for FiberMessageUnion
impl From<AddTlc> for FiberMessageUnion
Source§impl From<AnnouncementSignatures> for FiberMessageUnion
impl From<AnnouncementSignatures> for FiberMessageUnion
Source§fn from(item: AnnouncementSignatures) -> Self
fn from(item: AnnouncementSignatures) -> Self
Converts to this type from the input type.
Source§impl From<ChannelReady> for FiberMessageUnion
impl From<ChannelReady> for FiberMessageUnion
Source§fn from(item: ChannelReady) -> Self
fn from(item: ChannelReady) -> 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.
Source§impl From<CommitmentSigned> for FiberMessageUnion
impl From<CommitmentSigned> for FiberMessageUnion
Source§fn from(item: CommitmentSigned) -> Self
fn from(item: CommitmentSigned) -> Self
Converts to this type from the input type.
Source§impl From<Init> for FiberMessageUnion
impl From<Init> for FiberMessageUnion
Source§impl From<OpenChannel> for FiberMessageUnion
impl From<OpenChannel> for FiberMessageUnion
Source§fn from(item: OpenChannel) -> Self
fn from(item: OpenChannel) -> Self
Converts to this type from the input type.
Source§impl From<ReestablishChannel> for FiberMessageUnion
impl From<ReestablishChannel> for FiberMessageUnion
Source§fn from(item: ReestablishChannel) -> Self
fn from(item: ReestablishChannel) -> Self
Converts to this type from the input type.
Source§impl From<RemoveTlc> for FiberMessageUnion
impl From<RemoveTlc> for FiberMessageUnion
Source§impl From<RevokeAndAck> for FiberMessageUnion
impl From<RevokeAndAck> for FiberMessageUnion
Source§fn from(item: RevokeAndAck) -> Self
fn from(item: RevokeAndAck) -> Self
Converts to this type from the input type.
Source§impl From<Shutdown> for FiberMessageUnion
impl From<Shutdown> for FiberMessageUnion
Source§impl From<TxAbort> for FiberMessageUnion
impl From<TxAbort> for FiberMessageUnion
Source§impl From<TxAckRBF> for FiberMessageUnion
impl From<TxAckRBF> for FiberMessageUnion
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.
Source§impl From<TxInitRBF> for FiberMessageUnion
impl From<TxInitRBF> for FiberMessageUnion
Source§impl From<TxSignatures> for FiberMessageUnion
impl From<TxSignatures> for FiberMessageUnion
Source§fn from(item: TxSignatures) -> Self
fn from(item: TxSignatures) -> Self
Converts to this type from the input type.
Source§impl From<TxUpdate> for FiberMessageUnion
impl From<TxUpdate> for FiberMessageUnion
Source§impl From<UpdateTlcInfo> for FiberMessageUnion
impl From<UpdateTlcInfo> for FiberMessageUnion
Source§fn from(item: UpdateTlcInfo) -> Self
fn from(item: UpdateTlcInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for FiberMessageUnion
impl RefUnwindSafe for FiberMessageUnion
impl Send for FiberMessageUnion
impl Sync for FiberMessageUnion
impl Unpin for FiberMessageUnion
impl UnsafeUnpin for FiberMessageUnion
impl UnwindSafe for FiberMessageUnion
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