Skip to main content

RouteSnapshotKeys

Trait RouteSnapshotKeys 

Source
pub trait RouteSnapshotKeys {
    // Required methods
    fn clear(&mut self);
    fn push(
        &mut self,
        destination: DestinationHash,
    ) -> Result<(), RouteSnapshotKeyError>;
    fn get(&self, index: usize) -> Option<DestinationHash>;
}

Required Methods§

Source

fn clear(&mut self)

Source

fn push( &mut self, destination: DestinationHash, ) -> Result<(), RouteSnapshotKeyError>

Source

fn get(&self, index: usize) -> Option<DestinationHash>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§