pub struct ConfinedPath { /* private fields */ }Implementations§
Source§impl ConfinedPath
impl ConfinedPath
pub fn parse(raw: &str, policy: &PathPolicy) -> Result<Self, PathRejection>
pub fn as_str(&self) -> &str
pub fn components(&self) -> &[String]
pub fn path_policy(&self) -> &PathPolicy
Trait Implementations§
Source§impl Clone for ConfinedPath
impl Clone for ConfinedPath
Source§fn clone(&self) -> ConfinedPath
fn clone(&self) -> ConfinedPath
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 moreSource§impl Debug for ConfinedPath
impl Debug for ConfinedPath
impl Eq for ConfinedPath
Source§impl PartialEq for ConfinedPath
impl PartialEq for ConfinedPath
impl StructuralPartialEq for ConfinedPath
Auto Trait Implementations§
impl Freeze for ConfinedPath
impl RefUnwindSafe for ConfinedPath
impl Send for ConfinedPath
impl Sync for ConfinedPath
impl Unpin for ConfinedPath
impl UnsafeUnpin for ConfinedPath
impl UnwindSafe for ConfinedPath
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