pub trait PrivilegeCmp<Origin> {
    fn cmp_privilege(left: &Origin, right: &Origin) -> Option<Ordering>;
}
Expand description

Something that can compare privileges of two origins.

Required methods

Compare the left to the right origin.

The returned ordering should be from the pov of the left origin.

Should return None when it can not compare the given origins.

Implementors