Struct solana_perf::packet::Packets [−][src]
Fields
packets: PinnedVec<Packet>
Implementations
impl Packets
[src]
impl Packets
[src]pub fn new(packets: Vec<Packet>) -> Self
[src]
pub fn with_capacity(capacity: usize) -> Self
[src]
pub fn new_with_recycler(recycler: PacketsRecycler, size: usize) -> Option<Self>
[src]
pub fn new_with_recycler_data(
recycler: &PacketsRecycler,
packets: Vec<Packet>
) -> Option<Self>
[src]
recycler: &PacketsRecycler,
packets: Vec<Packet>
) -> Option<Self>
pub fn set_addr(&mut self, addr: &SocketAddr)
[src]
pub fn is_empty(&self) -> bool
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Packets
impl RefUnwindSafe for Packets
impl UnwindSafe for Packets
impl UnwindSafe for Packets
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,