[][src]Enum lnpbp::lnp::application::payment::channel::NegotiationError

pub enum NegotiationError {
    UnreasonableMinDepth(u32),
    LocalDustExceedsRemoteReserve(u64u64),
    RemoteDustExceedsLocalReserve(u64u64),
}

Variants

UnreasonableMinDepth(u32)

minimum depth requested by the remote peer is unreasonably large ({0}); rejecting the channel according to BOLT-2

LocalDustExceedsRemoteReserve(u64u64)

channel_reserve_satoshis ({0}) is less than dust_limit_satoshis ({1}) within the open_channel message; rejecting the channel according to BOLT-2

RemoteDustExceedsLocalReserve(u64u64)

channel_reserve_satoshis from the open_channel message ({0}) is less than dust_limit_satoshis ({1}; rejecting the channel according to BOLT-2

Trait Implementations

impl Clone for NegotiationError[src]

impl Copy for NegotiationError[src]

impl Debug for NegotiationError[src]

impl Display for NegotiationError[src]

impl Eq for NegotiationError[src]

impl Error for NegotiationError[src]

impl From<NegotiationError> for String[src]

impl Hash for NegotiationError[src]

impl PartialEq<NegotiationError> for NegotiationError[src]

impl StrictDecode for NegotiationError[src]

type Error = Error

Implementation-dependent error type

impl StrictEncode for NegotiationError[src]

type Error = Error

Implementation-dependent error type

impl StructuralEq for NegotiationError[src]

impl StructuralPartialEq for NegotiationError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,