pub struct FailedSign {
pub counter_party: PublicKey,
pub channel_id: ChannelId,
pub error_message: String,
pub sign_message: SignChannel,
}
Expand description
A channel that failed when validating an
[dlc_messages::channel::SignChannel
] message.
Fields§
§counter_party: PublicKey
The secp256k1_zkp::PublicKey
of the counter party.
channel_id: ChannelId
The crate::ChannelId
of the channel.
error_message: String
An message describing the error encountered while validating the
[dlc_messages::channel::SignChannel
] message.
sign_message: SignChannel
The [dlc_messages::channel::SignChannel
] that was received.
Trait Implementations§
Source§impl Clone for FailedSign
impl Clone for FailedSign
Source§fn clone(&self) -> FailedSign
fn clone(&self) -> FailedSign
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 Readable for FailedSign
impl Readable for FailedSign
Source§impl Writeable for FailedSign
impl Writeable for FailedSign
Auto Trait Implementations§
impl Freeze for FailedSign
impl RefUnwindSafe for FailedSign
impl Send for FailedSign
impl Sync for FailedSign
impl Unpin for FailedSign
impl UnwindSafe for FailedSign
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