pub struct BootkitMarker {
pub name: &'static str,
pub needle: &'static [u8],
}Expand description
One boot-sector-malware marker: a family name and the literal needle
bytes that, if present anywhere in the boot code, identify it.
Fields§
§name: &'static strMalware family / variant name reported on a match.
needle: &'static [u8]Literal bytes searched for anywhere in the boot-code area.
Trait Implementations§
Source§impl Clone for BootkitMarker
impl Clone for BootkitMarker
Source§fn clone(&self) -> BootkitMarker
fn clone(&self) -> BootkitMarker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BootkitMarker
Source§impl Debug for BootkitMarker
impl Debug for BootkitMarker
impl Eq for BootkitMarker
Source§impl PartialEq for BootkitMarker
impl PartialEq for BootkitMarker
Source§fn eq(&self, other: &BootkitMarker) -> bool
fn eq(&self, other: &BootkitMarker) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BootkitMarker
Auto Trait Implementations§
impl Freeze for BootkitMarker
impl RefUnwindSafe for BootkitMarker
impl Send for BootkitMarker
impl Sync for BootkitMarker
impl Unpin for BootkitMarker
impl UnsafeUnpin for BootkitMarker
impl UnwindSafe for BootkitMarker
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