pub struct ChainedExpectedDomain<'a, 'b> { /* private fields */ }Expand description
A context chain: consult first, then fall back to second.
Callers that combine signature sources (e.g. a provider manifest followed by the canonical catalog) chain them; neither is authoritative alone.
Implementations§
Source§impl<'a, 'b> ChainedExpectedDomain<'a, 'b>
impl<'a, 'b> ChainedExpectedDomain<'a, 'b>
Sourcepub fn new(
first: &'a dyn ExpectedDomain,
second: &'b dyn ExpectedDomain,
) -> Self
pub fn new( first: &'a dyn ExpectedDomain, second: &'b dyn ExpectedDomain, ) -> Self
Chain two contexts, consulting first before second.
Trait Implementations§
Source§impl<'a, 'b> Clone for ChainedExpectedDomain<'a, 'b>
impl<'a, 'b> Clone for ChainedExpectedDomain<'a, 'b>
Source§fn clone(&self) -> ChainedExpectedDomain<'a, 'b>
fn clone(&self) -> ChainedExpectedDomain<'a, 'b>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, 'b> Copy for ChainedExpectedDomain<'a, 'b>
Source§impl ExpectedDomain for ChainedExpectedDomain<'_, '_>
impl ExpectedDomain for ChainedExpectedDomain<'_, '_>
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for ChainedExpectedDomain<'a, 'b>
impl<'a, 'b> !Send for ChainedExpectedDomain<'a, 'b>
impl<'a, 'b> !Sync for ChainedExpectedDomain<'a, 'b>
impl<'a, 'b> !UnwindSafe for ChainedExpectedDomain<'a, 'b>
impl<'a, 'b> Freeze for ChainedExpectedDomain<'a, 'b>
impl<'a, 'b> Unpin for ChainedExpectedDomain<'a, 'b>
impl<'a, 'b> UnsafeUnpin for ChainedExpectedDomain<'a, 'b>
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
Mutably borrows from an owned value. Read more