Skip to main content

DepartedInterfaceTable

Trait DepartedInterfaceTable 

Source
pub trait DepartedInterfaceTable {
    // Required methods
    fn capacity(&self) -> usize;
    fn len(&self) -> usize;
    fn interfaces(&self) -> &[InterfaceId];
    fn warm_untils(&self) -> &[InstantMillis];
    fn push(&mut self, entry: DepartedInterface);
    fn swap_remove(&mut self, index: usize);

    // Provided method
    fn is_empty(&self) -> bool { ... }
}

Required Methods§

Source

fn capacity(&self) -> usize

Source

fn len(&self) -> usize

Source

fn interfaces(&self) -> &[InterfaceId]

Source

fn warm_untils(&self) -> &[InstantMillis]

Source

fn push(&mut self, entry: DepartedInterface)

Source

fn swap_remove(&mut self, index: usize)

Provided Methods§

Source

fn is_empty(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§