pub struct XmlExternalEntityReviewPolicy { /* private fields */ }Expand description
Strict operator authorization for one disposable XML endpoint and provider.
The endpoint and provider are private and this type is not serializable. Its Debug implementation exposes only bounded scheduling facts and a digest.
Implementations§
Source§impl XmlExternalEntityReviewPolicy
impl XmlExternalEntityReviewPolicy
Sourcepub fn parse_toml(
assessment_target: &Url,
source: &[u8],
) -> Result<Self, XmlExternalEntityReviewPolicyError>
pub fn parse_toml( assessment_target: &Url, source: &[u8], ) -> Result<Self, XmlExternalEntityReviewPolicyError>
Parses strict TOML and binds one production policy to the assessment application’s exact origin and path boundary.
Sourcepub const fn policy_id(&self) -> XmlExternalEntityPolicyId
pub const fn policy_id(&self) -> XmlExternalEntityPolicyId
Stable redaction-safe policy identity.
Sourcepub const fn policy_revision(&self) -> &'static str
pub const fn policy_revision(&self) -> &'static str
Stable semantic revision used by this policy.
Sourcepub const fn execution_mode(&self) -> XmlExternalEntityExecutionMode
pub const fn execution_mode(&self) -> XmlExternalEntityExecutionMode
Validated execution environment.
Sourcepub const fn method(&self) -> XmlExternalEntityHttpMethod
pub const fn method(&self) -> XmlExternalEntityHttpMethod
Exact authorized HTTP method.
Sourcepub const fn media_type(&self) -> XmlExternalEntityMediaType
pub const fn media_type(&self) -> XmlExternalEntityMediaType
Exact authorized request media type.
Sourcepub const fn polls_per_leg(&self) -> u16
pub const fn polls_per_leg(&self) -> u16
Exact bounded polls allowed for each target leg.
Sourcepub const fn poll_interval_ms(&self) -> u64
pub const fn poll_interval_ms(&self) -> u64
Configured interval between bounded polls.
Sourcepub const fn lifetime_ms(&self) -> u64
pub const fn lifetime_ms(&self) -> u64
Configured provider session lifetime.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XmlExternalEntityReviewPolicy
impl RefUnwindSafe for XmlExternalEntityReviewPolicy
impl Send for XmlExternalEntityReviewPolicy
impl Sync for XmlExternalEntityReviewPolicy
impl Unpin for XmlExternalEntityReviewPolicy
impl UnsafeUnpin for XmlExternalEntityReviewPolicy
impl UnwindSafe for XmlExternalEntityReviewPolicy
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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