pub trait UniqueNamespace:
CollectionMeta
+ Copy
+ FromBytes
+ IntoBytes
+ Immutable
+ Send
+ Sync
+ 'static {
// Required methods
fn from_row(row: UniqueRow) -> Self;
fn row(&self) -> UniqueRow;
}Expand description
Implemented only by unique_index!. The bound that
keeps crate::armour::Db::open_unique_index from being aimed at an
ordinary collection.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".