pub enum InboundChannelFunds {
PushMsat(u64),
DualFunded,
}Expand description
Used to indicate the kind of funding for this channel by the channel acceptor (us).
Allows the differentiation between a request for a dual-funded and non-dual-funded channel.
Variants§
PushMsat(u64)
For a non-dual-funded channel, the push_msat value from the channel initiator to us.
DualFunded
Indicates the open request is for a dual funded channel.
Note that these channels do not support starting with initial funds pushed from the counterparty, who is the channel opener in this case.
Trait Implementations§
Source§impl Clone for InboundChannelFunds
impl Clone for InboundChannelFunds
Source§fn clone(&self) -> InboundChannelFunds
fn clone(&self) -> InboundChannelFunds
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 InboundChannelFunds
impl Debug for InboundChannelFunds
Source§impl PartialEq for InboundChannelFunds
impl PartialEq for InboundChannelFunds
impl Eq for InboundChannelFunds
impl StructuralPartialEq for InboundChannelFunds
Auto Trait Implementations§
impl Freeze for InboundChannelFunds
impl RefUnwindSafe for InboundChannelFunds
impl Send for InboundChannelFunds
impl Sync for InboundChannelFunds
impl Unpin for InboundChannelFunds
impl UnwindSafe for InboundChannelFunds
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