pub struct SignatureErrorEvent {
pub request_id: [u8; 32],
pub responder: Pubkey,
pub error: String,
}Expand description
Emitted when signature generation fails via chain_signatures::respond_error.
§Warning: Debugging Only
This event is solely for debugging purposes. Do not use in production or rely upon for any business logic.
§Event Type
Regular event (emitted via emit!)
§Security Warning
Any address can emit this event. Error events are not cryptographically verified and should never be trusted for business logic decisions.
Fields§
§request_id: [u8; 32]Request identifier of the failed request.
responder: PubkeyAddress of the MPC responder. Error events are not cryptographically verified.
error: StringHuman-readable error description.
Trait Implementations§
Source§impl BorshDeserialize for SignatureErrorEvent
impl BorshDeserialize for SignatureErrorEvent
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for SignatureErrorEvent
impl BorshSerialize for SignatureErrorEvent
Source§impl Discriminator for SignatureErrorEvent
impl Discriminator for SignatureErrorEvent
Source§const DISCRIMINATOR: &'static [u8]
const DISCRIMINATOR: &'static [u8]
Discriminator slice. Read more
Auto Trait Implementations§
impl Freeze for SignatureErrorEvent
impl RefUnwindSafe for SignatureErrorEvent
impl Send for SignatureErrorEvent
impl Sync for SignatureErrorEvent
impl Unpin for SignatureErrorEvent
impl UnwindSafe for SignatureErrorEvent
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