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