pub struct InboundHTLCErr {
pub err_code: u16,
pub err_data: Vec<u8>,
pub msg: &'static str,
}Expand description
Invalid inbound onion payment.
Fields§
§err_code: u16BOLT 4 error code.
err_data: Vec<u8>Data attached to this error.
msg: &'static strError message text.
Trait Implementations§
Source§impl Clone for InboundHTLCErr
impl Clone for InboundHTLCErr
Source§fn clone(&self) -> InboundHTLCErr
fn clone(&self) -> InboundHTLCErr
Returns a duplicate of the value. Read more
1.0.0 · 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 InboundHTLCErr
impl Debug for InboundHTLCErr
Source§impl Hash for InboundHTLCErr
impl Hash for InboundHTLCErr
Source§impl PartialEq for InboundHTLCErr
impl PartialEq for InboundHTLCErr
impl Eq for InboundHTLCErr
impl StructuralPartialEq for InboundHTLCErr
Auto Trait Implementations§
impl Freeze for InboundHTLCErr
impl RefUnwindSafe for InboundHTLCErr
impl Send for InboundHTLCErr
impl Sync for InboundHTLCErr
impl Unpin for InboundHTLCErr
impl UnwindSafe for InboundHTLCErr
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