pub enum BtChannelOrderErrorType {
WrongOrderState,
PeerNotReachable,
ChannelRejectedByDestination,
ChannelRejectedByLsp,
BlocktankNotReady,
}
Variants§
WrongOrderState
Order is not in the right state to open a channel. Should be order.state
=created
and order.payment.state
=paid
.
PeerNotReachable
Could not establish connection to peer.
ChannelRejectedByDestination
Peer rejected channel open request.
ChannelRejectedByLsp
LSP rejected channel open request.
BlocktankNotReady
Blocktank service is temporarily unavailable.
Trait Implementations§
Source§impl Clone for BtChannelOrderErrorType
impl Clone for BtChannelOrderErrorType
Source§fn clone(&self) -> BtChannelOrderErrorType
fn clone(&self) -> BtChannelOrderErrorType
Returns a copy 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 BtChannelOrderErrorType
impl Debug for BtChannelOrderErrorType
Source§impl<'de> Deserialize<'de> for BtChannelOrderErrorType
impl<'de> Deserialize<'de> for BtChannelOrderErrorType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BtChannelOrderErrorType
impl PartialEq for BtChannelOrderErrorType
Source§impl Serialize for BtChannelOrderErrorType
impl Serialize for BtChannelOrderErrorType
impl StructuralPartialEq for BtChannelOrderErrorType
Auto Trait Implementations§
impl Freeze for BtChannelOrderErrorType
impl RefUnwindSafe for BtChannelOrderErrorType
impl Send for BtChannelOrderErrorType
impl Sync for BtChannelOrderErrorType
impl Unpin for BtChannelOrderErrorType
impl UnwindSafe for BtChannelOrderErrorType
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