pub struct ForeignError {
pub code: ErrorCode,
pub detail: String,
}Expand description
A failure of cross-mesh resolution: the code of the error envelope it gives, and why.
Fields§
§code: ErrorCodeE_INPUT_UNAVAILABLE (the other mesh is down or answered otherwise), E_MESH_DOC,
E_KEY_UNAVAILABLE or E_KEY_DOC (resolving its host), or what checking its envelope
gave.
detail: StringWhy.
Trait Implementations§
Source§impl Clone for ForeignError
impl Clone for ForeignError
Auto Trait Implementations§
impl Freeze for ForeignError
impl RefUnwindSafe for ForeignError
impl Send for ForeignError
impl Sync for ForeignError
impl Unpin for ForeignError
impl UnsafeUnpin for ForeignError
impl UnwindSafe for ForeignError
Blanket Implementations§
impl<T> Allocation for T
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