pub trait DiscoveredEndpointSet: Default {
type Endpoints<'a>: Iterator<Item = DiscoveredConnectionEndpointId>
where Self: 'a;
// Required methods
fn try_insert(
&mut self,
endpoint: DiscoveredConnectionEndpointId,
) -> Result<bool, TablePushError>;
fn endpoints(&self) -> Self::Endpoints<'_>;
}Required Associated Types§
type Endpoints<'a>: Iterator<Item = DiscoveredConnectionEndpointId> where Self: 'a
Required Methods§
fn try_insert( &mut self, endpoint: DiscoveredConnectionEndpointId, ) -> Result<bool, TablePushError>
fn endpoints(&self) -> Self::Endpoints<'_>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".