#[repr(C, packed(1))]pub struct ErrorWithHash {
pub error_code: ErrorCode,
pub hash: Hash,
}
Expand description
Represents type defining concatenated hash with error code. 36 bytes.
Fields§
§error_code: ErrorCode
§hash: Hash
Implementations§
Source§impl ErrorWithHash
impl ErrorWithHash
pub fn as_mut_ptr(&mut self) -> *mut Self
Trait Implementations§
Source§impl Debug for ErrorWithHash
impl Debug for ErrorWithHash
Source§impl Default for ErrorWithHash
impl Default for ErrorWithHash
Source§fn default() -> ErrorWithHash
fn default() -> ErrorWithHash
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ErrorWithHash
impl RefUnwindSafe for ErrorWithHash
impl Send for ErrorWithHash
impl Sync for ErrorWithHash
impl Unpin for ErrorWithHash
impl UnwindSafe for ErrorWithHash
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