[−][src]Enum lnpbp::lnp::application::payment::channel::NegotiationError
Errors from https://github.com/lightningnetwork/lightning-rfc/blob/master/02-peer-protocol.md#requirements-1
Variants
UnreasonableMinDepth(u32)
minimum depth requested by the remote peer is unreasonably large ({0}); rejecting the channel according to BOLT-2
channel_reserve_satoshis ({0}) is less than dust_limit_satoshis ({1}) within the open_channel message; rejecting the channel according to BOLT-2
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]
fn clone(&self) -> NegotiationError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<NegotiationError> for String
[src]
fn from(err: NegotiationError) -> Self
[src]
impl Hash for NegotiationError
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<NegotiationError> for NegotiationError
[src]
fn eq(&self, other: &NegotiationError) -> bool
[src]
fn ne(&self, other: &NegotiationError) -> bool
[src]
impl StrictDecode for NegotiationError
[src]
type Error = Error
Implementation-dependent error type
fn strict_decode<D: Read>(d: D) -> Result<Self, Self::Error>
[src]
impl StrictEncode for NegotiationError
[src]
type Error = Error
Implementation-dependent error type
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Self::Error>
[src]
impl StructuralEq for NegotiationError
[src]
impl StructuralPartialEq for NegotiationError
[src]
Auto Trait Implementations
impl RefUnwindSafe for NegotiationError
impl Send for NegotiationError
impl Sync for NegotiationError
impl Unpin for NegotiationError
impl UnwindSafe for NegotiationError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,