pub struct FixedUpstreamAppDestinationTable<const MAX_UPSTREAM_APP_DESTINATIONS: usize> { /* private fields */ }Trait Implementations§
Source§impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Clone for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Clone for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
Source§fn clone(
&self,
) -> FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
fn clone( &self, ) -> FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Debug for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Debug for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
Source§impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Default for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Default for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
Source§fn default() -> FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
fn default() -> FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
Returns the “default value” for a type. Read more
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Eq for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
Source§impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> PartialEq for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> PartialEq for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> StructuralPartialEq for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
Source§impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> UpstreamAppDestinationTable for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> UpstreamAppDestinationTable for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
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<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Freeze for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> RefUnwindSafe for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Send for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Sync for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> Unpin for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> UnsafeUnpin for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
impl<const MAX_UPSTREAM_APP_DESTINATIONS: usize> UnwindSafe for FixedUpstreamAppDestinationTable<MAX_UPSTREAM_APP_DESTINATIONS>
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