pub struct WitnessLogEntry {
pub header: WitnessLogEntryHeader,
pub payload: [u8; 256],
pub payload_len: usize,
}Expand description
Complete witness log entry (header + payload).
Fields§
§header: WitnessLogEntryHeaderEntry header.
payload: [u8; 256]Entry payload (fixed-size no_std variant).
payload_len: usizePayload length in the fixed-size array.
Implementations§
Trait Implementations§
Source§impl Clone for WitnessLogEntry
impl Clone for WitnessLogEntry
Source§fn clone(&self) -> WitnessLogEntry
fn clone(&self) -> WitnessLogEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WitnessLogEntry
impl RefUnwindSafe for WitnessLogEntry
impl Send for WitnessLogEntry
impl Sync for WitnessLogEntry
impl Unpin for WitnessLogEntry
impl UnsafeUnpin for WitnessLogEntry
impl UnwindSafe for WitnessLogEntry
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