Skip to main content

DiscoveredEndpointSet

Trait DiscoveredEndpointSet 

Source
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§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§