pub struct FacePlan {
pub name: String,
pub far: String,
pub attach: AttachPlan,
pub deny: Vec<Deny>,
pub downsampling: Option<Downsampling>,
pub windows: Vec<Window>,
pub liveness: Vec<Liveness>,
pub reply_timeout_ms: Option<u64>,
pub frames: Option<Vec<ListedFrame>>,
pub findings: Vec<Finding>,
pub crossing: BTreeSet<String>,
}Expand description
One face’s plan (§2.3).
Fields§
§name: String§far: String§attach: AttachPlan§deny: Vec<Deny>§downsampling: Option<Downsampling>§windows: Vec<Window>§liveness: Vec<Liveness>§reply_timeout_ms: Option<u64>A link.v2 face’s reply timeout, the deployment’s word to every
caller across it (v2 §2.18); absent for a link.v1 face.
frames: Option<Vec<ListedFrame>>A link.v2 face’s listed frames that cross it, each at its cadence,
sorted by name: the deployment’s word to the far side (v2 §2.7,
§2.18). Absent for a face with no frames.
findings: Vec<Finding>§crossing: BTreeSet<String>What crosses the face, by name (§0): each resource of a listed
interface whose pushes cross, overlapped ones set aside, each
crossing heartbeat as freshness.v2/stream/heartbeat/<iface>
(§2.9), and, on a link.v2 face, the link class’s owner heartbeat
key as freshness.v2/stream/heartbeats/link where it crosses (v2
§2.9). A tool’s scope across the face is read from it (observer
§7.5). No router block carries it, so it is never serialized.
Implementations§
Source§impl FacePlan
impl FacePlan
Sourcepub fn crosses(
&self,
iface: &str,
token: KindToken,
template: &Template,
) -> bool
pub fn crosses( &self, iface: &str, token: KindToken, template: &Template, ) -> bool
Whether resource token/template of iface crosses the face.
Sourcepub fn heartbeat_crosses(&self, iface: &str) -> bool
pub fn heartbeat_crosses(&self, iface: &str) -> bool
Whether the heartbeat covering iface crosses the face (§2.9).
Sourcepub fn owner_heartbeat_crosses(&self, class: Class) -> bool
pub fn owner_heartbeat_crosses(&self, class: Class) -> bool
Whether the owner heartbeat key of class crosses the face: the
link class’s on a link.v2 face a listed interface’s heartbeat
crosses (v2 §2.9), the host class’s never, and neither on a
link.v1 face (§2.9).
Trait Implementations§
impl StructuralPartialEq for FacePlan
Auto Trait Implementations§
impl Forget for FacePlan
impl Freeze for FacePlanwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<South>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Deny>: Freeze,
PhantomData<&'static str>: Freeze,
PhantomData<Rule>: Freeze,
PhantomData<Window>: Freeze,
PhantomData<Liveness>: Freeze,
PhantomData<ListedFrame>: Freeze,
PhantomData<Finding>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
impl Move for FacePlan
impl RefUnwindSafe for FacePlan
impl Send for FacePlan
impl Sync for FacePlan
impl Unpin for FacePlan
impl UnsafeUnpin for FacePlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<South>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Deny>: UnsafeUnpin,
PhantomData<&'static str>: UnsafeUnpin,
PhantomData<Rule>: UnsafeUnpin,
PhantomData<Window>: UnsafeUnpin,
PhantomData<Liveness>: UnsafeUnpin,
PhantomData<ListedFrame>: UnsafeUnpin,
PhantomData<Finding>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for FacePlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more