pub struct BridgeErrorPayload {
pub code: &'static str,
pub message: String,
}Expand description
Error information returned without exposing secrets.
Fields§
§code: &'static strStable error code.
message: StringUser-safe message.
Trait Implementations§
Source§impl Clone for BridgeErrorPayload
impl Clone for BridgeErrorPayload
Source§fn clone(&self) -> BridgeErrorPayload
fn clone(&self) -> BridgeErrorPayload
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 BridgeErrorPayload
impl Debug for BridgeErrorPayload
Auto Trait Implementations§
impl Freeze for BridgeErrorPayload
impl RefUnwindSafe for BridgeErrorPayload
impl Send for BridgeErrorPayload
impl Sync for BridgeErrorPayload
impl Unpin for BridgeErrorPayload
impl UnsafeUnpin for BridgeErrorPayload
impl UnwindSafe for BridgeErrorPayload
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