pub struct RecordSize {
pub record_size: u16,
pub extended_record_size: u16,
}Expand description
Size of the Crash Log record
Fields§
§record_size: u16Size of the main section of the record in dwords
extended_record_size: u16Size of the extended section of the record in dwords
Implementations§
Source§impl RecordSize
impl RecordSize
Sourcepub fn from_slice(slice: &[u8]) -> Option<Self>
pub fn from_slice(slice: &[u8]) -> Option<Self>
Creates a RecordSize from the raw record
Sourcepub fn from_slice_type0_legacy_server(slice: &[u8]) -> Option<Self>
pub fn from_slice_type0_legacy_server(slice: &[u8]) -> Option<Self>
Creates a RecordSize from the raw record of a server product with legacy header type0
Trait Implementations§
Source§impl Clone for RecordSize
impl Clone for RecordSize
Source§fn clone(&self) -> RecordSize
fn clone(&self) -> RecordSize
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 moreSource§impl Debug for RecordSize
impl Debug for RecordSize
Source§impl Default for RecordSize
impl Default for RecordSize
Source§fn default() -> RecordSize
fn default() -> RecordSize
Returns the “default value” for a type. Read more
Source§impl From<&RecordSize> for Node
impl From<&RecordSize> for Node
Source§fn from(size: &RecordSize) -> Self
fn from(size: &RecordSize) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RecordSize
impl RefUnwindSafe for RecordSize
impl Send for RecordSize
impl Sync for RecordSize
impl Unpin for RecordSize
impl UnsafeUnpin for RecordSize
impl UnwindSafe for RecordSize
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