pub struct HeapUpstreamAppDestinationTable { /* private fields */ }Trait Implementations§
Source§impl Default for HeapUpstreamAppDestinationTable
impl Default for HeapUpstreamAppDestinationTable
Source§fn default() -> HeapUpstreamAppDestinationTable
fn default() -> HeapUpstreamAppDestinationTable
Returns the “default value” for a type. Read more
Source§impl UpstreamAppDestinationTable for HeapUpstreamAppDestinationTable
impl UpstreamAppDestinationTable for HeapUpstreamAppDestinationTable
fn capacity(&self) -> usize
fn len(&self) -> usize
fn destinations(&self) -> &[DestinationHash]
fn kinds(&self) -> &[UpstreamAppDestinationKind]
fn name_hashes(&self) -> &[DottedNameHash]
fn app_data_at(&self, index: usize) -> Option<&[u8]>
fn kind_mut(&mut self, index: usize) -> &mut UpstreamAppDestinationKind
fn upsert( &mut self, destination: DestinationHash, kind: UpstreamAppDestinationKind, name_hash: DottedNameHash, app_data: Vec<u8, prns_core::::routing::announce::emit::AnnounceAppDataBytes::{constant#0}>, ) -> Result<usize, TablePushError>
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for HeapUpstreamAppDestinationTable
impl RefUnwindSafe for HeapUpstreamAppDestinationTable
impl Send for HeapUpstreamAppDestinationTable
impl Sync for HeapUpstreamAppDestinationTable
impl Unpin for HeapUpstreamAppDestinationTable
impl UnsafeUnpin for HeapUpstreamAppDestinationTable
impl UnwindSafe for HeapUpstreamAppDestinationTable
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