CBORSortable

Trait CBORSortable 

Source
pub trait CBORSortable<T> {
    // Required method
    fn sort_by_cbor_encoding(&self) -> Vec<T>
       where Self: Sized + Into<CBOR> + Clone;
}

Required Methods§

Source

fn sort_by_cbor_encoding(&self) -> Vec<T>
where Self: Sized + Into<CBOR> + Clone,

Implementations on Foreign Types§

Source§

impl<T> CBORSortable<T> for &[T]
where T: Into<CBOR> + Clone,

Implementors§

Source§

impl<T> CBORSortable<T> for HashSet<T>
where T: Into<CBOR> + Clone,

Source§

impl<T> CBORSortable<T> for Vec<T>
where T: Into<CBOR> + Clone,