Enum rust_rcs_core::internet::uri::URI
source · pub enum URI<'a> {
Standard(&'a [u8], URIPath<'a>, Option<&'a [u8]>, Option<&'a [u8]>),
Relative(URIPath<'a>, Option<&'a [u8]>, Option<&'a [u8]>),
}
Variants§
Standard(&'a [u8], URIPath<'a>, Option<&'a [u8]>, Option<&'a [u8]>)
Relative(URIPath<'a>, Option<&'a [u8]>, Option<&'a [u8]>)
Implementations§
source§impl URI<'_>
impl URI<'_>
pub fn is_absolute(&self) -> bool
pub fn get_query_value<'b>(&self, query_name: &'b [u8]) -> Option<&[u8]>
pub fn string_representation_without_query_and_fragment(&self) -> Vec<u8>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for URI<'a>
impl<'a> Send for URI<'a>
impl<'a> Sync for URI<'a>
impl<'a> Unpin for URI<'a>
impl<'a> UnwindSafe for URI<'a>
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