statime::config

Trait 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§