Skip to main content

Binding

Struct Binding 

Source
pub struct Binding<'model, 'document, 'path> { /* private fields */ }
Expand description

Actual counter result retaining the checked path and original parent link. Only Context::check constructs it over the parent’s ORIGINAL octets.

Implementations§

Source§

impl<'m, 'd, 'p> Binding<'m, 'd, 'p>

Source

pub fn source(&self) -> Original<'m, 'd>

Exact original child in its immutable source generation.

Source

pub fn parent(&self) -> Node

Original direct parent, not the root of a flattened counter list.

Source

pub fn outcome(&self) -> &Outcome

Original completed answer, never a trust or root baseline verdict.

Source

pub fn profile(&self) -> &Profile<'d>

Actual original profile and every independently retained schema fault.

Source

pub fn identifier(&self) -> Option<&CertificateAgreement>

Original SID result, including unreadable SKI details; None means that no target certificate was available, not a completed mismatch.

Source

pub fn signing(&self) -> Option<Bindings>

Original independent ESS answers, when certificate binding was reached.

Source

pub fn content(&self) -> Option<&ContentAgreement>

Original payload-to-attribute answer, preserving owned malformed detail.

Source

pub fn signature(&self) -> Option<SignatureAnswer>

Actual mathematical result, independently of payload/profile binding.

Source

pub fn restrictions(&self) -> Option<PathRestriction>

Actual later-certificate restriction result, if that stage was reached.

Auto Trait Implementations§

§

impl<'model, 'document, 'path> !Freeze for Binding<'model, 'document, 'path>

§

impl<'model, 'document, 'path> !RefUnwindSafe for Binding<'model, 'document, 'path>

§

impl<'model, 'document, 'path> !Send for Binding<'model, 'document, 'path>

§

impl<'model, 'document, 'path> !Sync for Binding<'model, 'document, 'path>

§

impl<'model, 'document, 'path> !UnwindSafe for Binding<'model, 'document, 'path>

§

impl<'model, 'document, 'path> Unpin for Binding<'model, 'document, 'path>

§

impl<'model, 'document, 'path> UnsafeUnpin for Binding<'model, 'document, 'path>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.