Struct libafl_bolts::shmem::ShMemDescription
source · pub struct ShMemDescription {
pub size: usize,
pub id: ShMemId,
}
Expand description
Description of a shared map. May be used to restore the map by id.
Fields§
§size: usize
Size of this map
id: ShMemId
Id of this map
Implementations§
source§impl ShMemDescription
impl ShMemDescription
sourcepub fn from_string_and_size(id_str: &str, size: usize) -> Self
pub fn from_string_and_size(id_str: &str, size: usize) -> Self
Create a description from a id_str
and a size
.
Trait Implementations§
source§impl Clone for ShMemDescription
impl Clone for ShMemDescription
source§fn clone(&self) -> ShMemDescription
fn clone(&self) -> ShMemDescription
Returns a copy 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 ShMemDescription
impl Debug for ShMemDescription
source§impl<'de> Deserialize<'de> for ShMemDescription
impl<'de> Deserialize<'de> for ShMemDescription
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ShMemDescription
impl Serialize for ShMemDescription
impl Copy for ShMemDescription
Auto Trait Implementations§
impl Freeze for ShMemDescription
impl RefUnwindSafe for ShMemDescription
impl Send for ShMemDescription
impl Sync for ShMemDescription
impl Unpin for ShMemDescription
impl UnwindSafe for ShMemDescription
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
source§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting
TupleList
, of an Prepend::prepend()
call,
including the prepended entry.source§fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.