pub enum WaitHtlcsDirection {
OUT = 0,
IN = 1,
}Expand description
[‘Out if we offered this to the peer, in if they offered it.’]
Variants§
Trait Implementations§
Source§impl Clone for WaitHtlcsDirection
impl Clone for WaitHtlcsDirection
Source§fn clone(&self) -> WaitHtlcsDirection
fn clone(&self) -> WaitHtlcsDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WaitHtlcsDirection
impl Debug for WaitHtlcsDirection
Source§impl<'de> Deserialize<'de> for WaitHtlcsDirection
impl<'de> Deserialize<'de> for WaitHtlcsDirection
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 WaitHtlcsDirection
impl PartialEq for WaitHtlcsDirection
Source§fn eq(&self, other: &WaitHtlcsDirection) -> bool
fn eq(&self, other: &WaitHtlcsDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WaitHtlcsDirection
impl Serialize for WaitHtlcsDirection
Source§impl ToString for WaitHtlcsDirection
impl ToString for WaitHtlcsDirection
Source§impl TryFrom<i32> for WaitHtlcsDirection
impl TryFrom<i32> for WaitHtlcsDirection
impl Copy for WaitHtlcsDirection
impl Eq for WaitHtlcsDirection
impl StructuralPartialEq for WaitHtlcsDirection
Auto Trait Implementations§
impl Freeze for WaitHtlcsDirection
impl RefUnwindSafe for WaitHtlcsDirection
impl Send for WaitHtlcsDirection
impl Sync for WaitHtlcsDirection
impl Unpin for WaitHtlcsDirection
impl UnsafeUnpin for WaitHtlcsDirection
impl UnwindSafe for WaitHtlcsDirection
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