pub struct HeapDiscoveredConnectionTable { /* private fields */ }Trait Implementations§
Source§impl Default for HeapDiscoveredConnectionTable
impl Default for HeapDiscoveredConnectionTable
Source§fn default() -> HeapDiscoveredConnectionTable
fn default() -> HeapDiscoveredConnectionTable
Returns the “default value” for a type. Read more
Source§impl DiscoveredConnectionTable for HeapDiscoveredConnectionTable
impl DiscoveredConnectionTable for HeapDiscoveredConnectionTable
type Connections<'a> = Values<'a, InterfaceId, ActiveDiscoveredInterface>
fn len(&self) -> usize
fn get_mut( &mut self, interface: InterfaceId, ) -> Option<&mut ActiveDiscoveredInterface>
fn contains_interface(&self, interface: InterfaceId) -> bool
fn contains_endpoint(&self, endpoint: DiscoveredConnectionEndpointId) -> bool
fn try_insert( &mut self, interface: ActiveDiscoveredInterface, ) -> Result<Option<ActiveDiscoveredInterface>, TablePushError>
fn remove( &mut self, interface: InterfaceId, ) -> Option<ActiveDiscoveredInterface>
fn connections( &self, ) -> <HeapDiscoveredConnectionTable as DiscoveredConnectionTable>::Connections<'_>
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for HeapDiscoveredConnectionTable
impl RefUnwindSafe for HeapDiscoveredConnectionTable
impl Send for HeapDiscoveredConnectionTable
impl Sync for HeapDiscoveredConnectionTable
impl Unpin for HeapDiscoveredConnectionTable
impl UnsafeUnpin for HeapDiscoveredConnectionTable
impl UnwindSafe for HeapDiscoveredConnectionTable
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