Trait libafl::bolts::AsSlice

source ·
pub trait AsSlice {
    type Entry;

    fn as_slice(&self) -> &[Self::Entry];
}
Expand description

Can be converted to a slice

Required Associated Types§

source

type Entry

Type of the entries in this slice

Required Methods§

source

fn as_slice(&self) -> &[Self::Entry]

Convert to a slice

Implementations on Foreign Types§

source§

impl<T> AsSlice for Vec<T>

§

type Entry = T

source§

fn as_slice(&self) -> &[Self::Entry]

source§

impl<T> AsSlice for &[T]

§

type Entry = T

source§

fn as_slice(&self) -> &[Self::Entry]

source§

impl<T> AsSlice for [T]

§

type Entry = T

source§

fn as_slice(&self) -> &[Self::Entry]

Implementors§

source§

impl AsSlice for MapIndexesMetadata

§

type Entry = usize

source§

impl AsSlice for MapNoveltiesMetadata

§

type Entry = usize

source§

impl AsSlice for LogMutationMetadata

source§

impl AsSlice for Tokens

§

type Entry = Vec<u8, Global>

source§

impl AsSlice for CmpValuesMetadata

source§

impl AsSlice for AccountingIndexesMetadata

§

type Entry = usize

source§

impl AsSlice for ShMemId

§

type Entry = u8

source§

impl AsSlice for AshmemShMem

§

type Entry = u8

source§

impl AsSlice for MmapShMem

§

type Entry = u8

source§

impl<'a, T> AsSlice for VariableMapObserver<'a, T>where
    T: Bounded + PartialEq + Default + Copy + 'static + Serialize + DeserializeOwned + Debug,

§

type Entry = T

source§

impl<'a, T, const DIFFERENTIAL: bool> AsSlice for StdMapObserver<'a, T, DIFFERENTIAL>where
    T: Default + Copy + 'static + Serialize + DeserializeOwned + Debug,

§

type Entry = T

source§

impl<'a, T, const N: usize> AsSlice for ConstMapObserver<'a, T, N>where
    T: Default + Copy + 'static + Serialize + DeserializeOwned + Debug,

§

type Entry = T

source§

impl<'a, T: Sized> AsSlice for OwnedMutSlice<'a, T>

§

type Entry = T

source§

impl<'a, T: Sized> AsSlice for OwnedSlice<'a, T>

§

type Entry = T

source§

impl<M> AsSlice for HitcountsIterableMapObserver<M>where
    M: MapObserver + AsSlice,

§

type Entry = <M as AsSlice>::Entry

source§

impl<M> AsSlice for HitcountsMapObserver<M>where
    M: MapObserver + AsSlice,

§

type Entry = <M as AsSlice>::Entry

source§

impl<SH> AsSlice for ServedShMem<SH>where
    SH: ShMem,

§

type Entry = u8

source§

impl<T> AsSlice for OwnedMapObserver<T>where
    T: Default + Copy + 'static + Serialize + DeserializeOwned + Debug,

§

type Entry = T

source§

impl<T> AsSlice for RcShMem<T>where
    T: ShMemProvider + Debug,

§

type Entry = u8