[−][src]Enum lightning_wire_msgs::watchtower::items::blob::KnownType
Variants
TypeAltruistCommit
TypeRewardCommit
Trait Implementations
impl WireItem for KnownType
[src]
fn encode<W: Write>(&self, w: &mut W) -> Result<usize>
[src]
fn decode<R: Read>(r: &mut R) -> Result<Self>
[src]
impl Eq for KnownType
[src]
impl Clone for KnownType
[src]
impl PartialEq<KnownType> for KnownType
[src]
impl From<KnownType> for u16
[src]
impl Copy for KnownType
[src]
impl Debug for KnownType
[src]
impl TryFrom<u16> for KnownType
[src]
type Error = u16
The type returned in the event of a conversion error.
fn try_from(prim: u16) -> Result<Self, Self::Error>
[src]
impl TryFrom<Type> for KnownType
[src]
Auto Trait Implementations
impl Unpin for KnownType
impl Sync for KnownType
impl Send for KnownType
impl UnwindSafe for KnownType
impl RefUnwindSafe for KnownType
Blanket Implementations
impl<T> WireItemWriter for T where
T: TLVWireItem,
[src]
T: TLVWireItem,
impl<T> WireItemReader for T where
T: WireItem,
[src]
T: WireItem,
impl<T> TLVWireItemWriter for T where
T: TLVWireItem,
[src]
T: TLVWireItem,
fn encode<W>(&Self, &mut W) -> Result<usize, Error> where
W: Write,
[src]
W: Write,
fn encode_tlv<W: Write>(&self, w: &mut W, tlv_type: u64) -> Result<usize>
[src]
impl<T> TLVWireItemReader for T where
T: TLVWireItem,
[src]
T: TLVWireItem,
fn decode<R>(&mut R, usize) -> Result<T, Error> where
R: Read,
[src]
R: Read,
fn decode_tlv<'a, R: Read>(
reader: &mut PeekReader<'a, R>,
tlv_type: u64
) -> Result<Option<Self>>
[src]
reader: &mut PeekReader<'a, R>,
tlv_type: u64
) -> Result<Option<Self>>
impl<T> TLVWireItem for T where
T: WireItem,
[src]
T: WireItem,
fn encode<W>(&Self, &mut W) -> Result<usize, Error> where
W: Write,
[src]
W: Write,
fn decode<R>(&mut R, usize) -> Result<T, Error> where
R: Read,
[src]
R: Read,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,