[][src]Struct lnpbp::lnp::application::payment::ChannelId

pub struct ChannelId(_);

Lightning network channel Id

Implementations

impl ChannelId[src]

pub fn with(funding_outpoint: OutPoint) -> Self[src]

Trait Implementations

impl AsMut<<ChannelId as Wrapper>::Inner> for ChannelId[src]

impl AsRef<<ChannelId as Wrapper>::Inner> for ChannelId[src]

impl Borrow<<ChannelId as Wrapper>::Inner> for ChannelId[src]

impl BorrowMut<<ChannelId as Wrapper>::Inner> for ChannelId[src]

impl Clone for ChannelId[src]

impl Copy for ChannelId[src]

impl Debug for ChannelId[src]

impl Default for ChannelId[src]

impl Deref for ChannelId[src]

type Target = Self::Inner

The resulting type after dereferencing.

impl DerefMut for ChannelId[src]

impl Display for ChannelId[src]

impl Eq for ChannelId[src]

impl From<ChannelId> for TempChannelId[src]

impl From<Slice32> for ChannelId[src]

impl From<TempChannelId> for ChannelId[src]

impl FromHex for ChannelId[src]

impl FromStr for ChannelId[src]

type Err = <Self::Inner as FromStr>::Err

The associated error which can be returned from parsing.

impl Hash for ChannelId[src]

impl LowerHex for ChannelId[src]

impl Ord for ChannelId[src]

impl PartialEq<ChannelId> for ChannelId[src]

impl PartialOrd<ChannelId> for ChannelId[src]

impl StrictDecode for ChannelId[src]

type Error = Error

Implementation-dependent error type

impl StrictEncode for ChannelId[src]

type Error = Error

Implementation-dependent error type

impl StructuralEq for ChannelId[src]

impl StructuralPartialEq for ChannelId[src]

impl UpperHex for ChannelId[src]

impl Wrapper for ChannelId[src]

type Inner = Slice32

Inner type wrapped by the current newtype

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> FromHex for T where
    T: Hash
[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> ToHex for T where
    T: LowerHex
[src]

pub fn to_hex(&self) -> String[src]

Outputs the hash in hexadecimal form

impl<T> ToHex for T where
    T: LowerHex
[src]

pub fn to_hex(&self) -> String[src]

Outputs the hash in hexadecimal form

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>,