pub struct AclCheck {
pub base: String,
pub against: String,
pub planned_rules: usize,
pub observed_rules: usize,
pub planned_subjects: usize,
pub observed_subjects: usize,
pub findings: Vec<AclFinding>,
pub interest_probe: Judgement,
pub judgement: Judgement,
}Expand description
zenctl acl gen --check --against <router.json5>: the plan against the
block a router would run.
Fields§
§base: String§against: StringWhere the observed block came from (RFC 13 §3 O5).
planned_rules: usize§observed_rules: usize§planned_subjects: usize§observed_subjects: usize§findings: Vec<AclFinding>§interest_probe: JudgementThe interest-propagation probe — whether a consumer’s declared interest reaches the publishers’ faces. Not asked: the fact is observable only from the publisher’s side (its matching listener, RFC 07 §1), and a check that reads a config file has no publisher to ask; faking it from the consumer side would be a verdict on nothing.
judgement: JudgementTrait Implementations§
Auto Trait Implementations§
impl Freeze for AclCheck
impl RefUnwindSafe for AclCheck
impl Send for AclCheck
impl Sync for AclCheck
impl Unpin for AclCheck
impl UnsafeUnpin for AclCheck
impl UnwindSafe for AclCheck
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Mutably borrows from an owned value. Read more
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
Converts
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> ⓘ
Converts
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