Skip to main content

ObjectCheck

Struct ObjectCheck 

Source
pub struct ObjectCheck<'v, 's, N, D, G, S: RangeSource> { /* private fields */ }
Expand description

Actual source lookup and digest facts for one original XML instruction. These stable IDs can survive a scoped XML view; no DOM borrow is retained.

Implementations§

Source§

impl<'v, 's, N: Copy, D: Copy, G: Copy, S: RangeSource> ObjectCheck<'v, 's, N, D, G, S>

Source

pub fn snapshot(&self) -> Snapshot<D, G>

Exact original XML document/generation used by the digest method/value.

Source

pub fn root(&self) -> N

Exact manifest root, not another sibling manifest with the same URI.

Source

pub fn object(&self) -> Object<N>

The original instruction and all singleton/rootfile distinctions.

Source

pub fn target(&self) -> &Target<'v, 's, S>

Complete exact-name candidate range and URI component outcome.

Source

pub fn digest(&self) -> DigestReading

Actual common digest answer, independent of XML origin/authentication.

Auto Trait Implementations§

§

impl<'v, 's, N, D, G, S> !RefUnwindSafe for ObjectCheck<'v, 's, N, D, G, S>

§

impl<'v, 's, N, D, G, S> !Send for ObjectCheck<'v, 's, N, D, G, S>

§

impl<'v, 's, N, D, G, S> !Sync for ObjectCheck<'v, 's, N, D, G, S>

§

impl<'v, 's, N, D, G, S> !UnwindSafe for ObjectCheck<'v, 's, N, D, G, S>

§

impl<'v, 's, N, D, G, S> Forget for ObjectCheck<'v, 's, N, D, G, S>

§

impl<'v, 's, N, D, G, S> Freeze for ObjectCheck<'v, 's, N, D, G, S>
where Snapshot<D, G>: Freeze, N: Freeze, Object<N>: Freeze, Target<'v, 's, S>: Freeze,

§

impl<'v, 's, N, D, G, S> Unpin for ObjectCheck<'v, 's, N, D, G, S>
where Snapshot<D, G>: Unpin, N: Unpin, Object<N>: Unpin, Target<'v, 's, S>: Unpin,

§

impl<'v, 's, N, D, G, S> UnsafeUnpin for ObjectCheck<'v, 's, N, D, G, S>

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.