pub struct DecodedTlcErr {
pub error: TlcErr,
pub hop_index: usize,
}Expand description
A TLC error decoded from an onion error packet.
Fields§
§error: TlcErr§hop_index: usizeIndex into the hop public keys passed to TlcErrPacket::decode.
Trait Implementations§
Source§impl Clone for DecodedTlcErr
impl Clone for DecodedTlcErr
Source§fn clone(&self) -> DecodedTlcErr
fn clone(&self) -> DecodedTlcErr
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 DecodedTlcErr
impl Debug for DecodedTlcErr
Source§impl<'de> Deserialize<'de> for DecodedTlcErr
impl<'de> Deserialize<'de> for DecodedTlcErr
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 DecodedTlcErr
impl PartialEq for DecodedTlcErr
Source§impl Serialize for DecodedTlcErr
impl Serialize for DecodedTlcErr
impl StructuralPartialEq for DecodedTlcErr
Auto Trait Implementations§
impl !Freeze for DecodedTlcErr
impl RefUnwindSafe for DecodedTlcErr
impl Send for DecodedTlcErr
impl Sync for DecodedTlcErr
impl Unpin for DecodedTlcErr
impl UnsafeUnpin for DecodedTlcErr
impl UnwindSafe for DecodedTlcErr
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