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§
fn clear(&mut self)
fn push( &mut self, destination: DestinationHash, ) -> Result<(), RouteSnapshotKeyError>
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".