[][src]Enum lightning_wire_msgs::watchtower::items::blob::Flag

#[repr(u16)]
pub enum Flag {
    Reward,
    CommitOutputs,
}

Variants

RewardCommitOutputs

Methods

impl Flag[src]

pub const fn flag(&self) -> u16[src]

pub const fn in_bitvec(&self, bitvec: u16) -> bool[src]

pub const fn all() -> [Flag; 2][src]

Trait Implementations

impl Eq for Flag[src]

impl Clone for Flag[src]

impl PartialOrd<Flag> for Flag[src]

impl PartialEq<Flag> for Flag[src]

impl Ord for Flag[src]

impl Copy for Flag[src]

impl Hash for Flag[src]

impl Debug for Flag[src]

impl Display for Flag[src]

impl TryFrom<u16> for Flag[src]

type Error = u16

The type returned in the event of a conversion error.

impl FromIterator<Flag> for Type[src]

Auto Trait Implementations

impl Send for Flag

impl Unpin for Flag

impl Sync for Flag

impl UnwindSafe for Flag

impl RefUnwindSafe for Flag

Blanket Implementations

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

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> From<T> for T[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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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