Struct cri_ref::accessor::RuntimeResolved
source · [−]Expand description
A resolved CRI computed from a base and a reference on demand
Trait Implementations
sourceimpl<'a, B: Cri + ?Sized, R: CriRef> Cri for RuntimeResolved<'a, B, R>
impl<'a, B: Cri + ?Sized, R: CriRef> Cri for RuntimeResolved<'a, B, R>
The type of authority of the CRI Read more
sourcefn format_uri(&self, w: &mut impl Write) -> Result
fn format_uri(&self, w: &mut impl Write) -> Result
Write the corresponding URI into a writer
sourcefn render_uri(&self) -> String
fn render_uri(&self) -> String
Write the corresponding URI into a string
sourcefn resolve<R: CriRef>(&self, reference: R) -> RuntimeResolved<'_, Self, R>
fn resolve<R: CriRef>(&self, reference: R) -> RuntimeResolved<'_, Self, R>
Resolve a reference against this base Read more
sourceimpl<'a, B: Cri + ?Sized, R: CriRef> CriBase for RuntimeResolved<'a, B, R>
impl<'a, B: Cri + ?Sized, R: CriRef> CriBase for RuntimeResolved<'a, B, R>
type Scheme<'b>
where
Self: 'b = Either<<B as CriBase>::Scheme<'b>, <R as CriBase>::Scheme<'b>>
type Host<'b>
where
Self: 'b = impl Host
type PathItem<'b>
where
Self: 'b = impl TextOrPet<PATH_UE>
type QueryItem<'b>
where
Self: 'b = impl TextOrPet<QUERY_UE>
type FragmentItem<'b>
where
Self: 'b = impl TextOrPet<FRAGMENT_UE>
type UserInfoItem<'b>
where
Self: 'b = impl TextOrPet<HOST_UE>
type PathIter<'b>
where
Self: 'b = impl Iterator<Item = <RuntimeResolved<'a, B, R> as CriBase>::PathItem<'b>> + ExactSizeIterator
type QueryIter<'b>
where
Self: 'b = impl Iterator<Item = <RuntimeResolved<'a, B, R> as CriBase>::QueryItem<'b>>
fn path(&self) -> Self::PathIter<'_>
fn query(&self) -> Self::QueryIter<'_>
fn fragment(&self) -> Option<Self::FragmentItem<'_>>
fn userinfo(&self) -> Option<Self::UserInfoItem<'_>>
fn host(&self) -> Self::Host<'_>
fn port(&self) -> Option<u16>
Auto Trait Implementations
impl<'a, B: ?Sized, R> RefUnwindSafe for RuntimeResolved<'a, B, R> where
B: RefUnwindSafe,
R: RefUnwindSafe,
impl<'a, B: ?Sized, R> Send for RuntimeResolved<'a, B, R> where
B: Sync,
R: Send,
impl<'a, B: ?Sized, R> Sync for RuntimeResolved<'a, B, R> where
B: Sync,
R: Sync,
impl<'a, B: ?Sized, R> Unpin for RuntimeResolved<'a, B, R> where
R: Unpin,
impl<'a, B: ?Sized, R> UnwindSafe for RuntimeResolved<'a, B, R> where
B: RefUnwindSafe,
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more