Struct solana_perf::packet::PacketBatch
source · [−]Fields
packets: PinnedVec<Packet>
Implementations
pub fn new_unpinned_with_recycler(
recycler: PacketBatchRecycler,
size: usize,
name: &'static str
) -> Self
pub fn new_with_recycler(
recycler: PacketBatchRecycler,
size: usize,
name: &'static str
) -> Self
pub fn new_with_recycler_data(
recycler: &PacketBatchRecycler,
name: &'static str,
packets: Vec<Packet>
) -> Self
pub fn new_unpinned_with_recycler_data(
recycler: &PacketBatchRecycler,
name: &'static str,
packets: Vec<Packet>
) -> Self
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PacketBatch
impl Send for PacketBatch
impl Sync for PacketBatch
impl Unpin for PacketBatch
impl UnwindSafe for PacketBatch
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more