pub struct ErrorDetail {
pub id: u64,
pub data: Vec<u8>,
}Expand description
Arbitrary extra detail attached to an Error.
Each detail has a unique 64-bit id (typically generated with capnp id) and a byte data
payload whose encoding is defined by the application.
Fields§
§id: u64§data: Vec<u8>Trait Implementations§
Source§impl Clone for ErrorDetail
impl Clone for ErrorDetail
Source§impl Debug for ErrorDetail
impl Debug for ErrorDetail
impl Eq for ErrorDetail
Source§impl PartialEq for ErrorDetail
impl PartialEq for ErrorDetail
impl StructuralPartialEq for ErrorDetail
Auto Trait Implementations§
impl Forget for ErrorDetail
impl Freeze for ErrorDetail
impl Move for ErrorDetail
impl RefUnwindSafe for ErrorDetail
impl Send for ErrorDetail
impl Sync for ErrorDetail
impl Unpin for ErrorDetail
impl UnsafeUnpin for ErrorDetail
impl UnwindSafe for ErrorDetail
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