Trait statime::config::AcceptableMasterList

source ·
pub trait AcceptableMasterList {
    // Required method
    fn is_acceptable(&self, identity: ClockIdentity) -> bool;
}
Expand description

A list of ClockIdentitys a Port may accept as a master clock.

Required Methods§

source

fn is_acceptable(&self, identity: ClockIdentity) -> bool

Return whether the clock with identity may be a master to this Port

Implementations on Foreign Types§

source§

impl AcceptableMasterList for &[ClockIdentity]

source§

fn is_acceptable(&self, identity: ClockIdentity) -> bool

source§

impl AcceptableMasterList for BTreeSet<ClockIdentity>

source§

fn is_acceptable(&self, identity: ClockIdentity) -> bool

source§

impl AcceptableMasterList for Vec<ClockIdentity>

source§

fn is_acceptable(&self, identity: ClockIdentity) -> bool

source§

impl AcceptableMasterList for HashSet<ClockIdentity>

source§

fn is_acceptable(&self, identity: ClockIdentity) -> bool

source§

impl<T: AcceptableMasterList> AcceptableMasterList for Option<T>

source§

fn is_acceptable(&self, identity: ClockIdentity) -> bool

source§

impl<const CAP: usize> AcceptableMasterList for ArrayVec<ClockIdentity, CAP>

source§

fn is_acceptable(&self, identity: ClockIdentity) -> bool

Implementors§