Enum redox_path::RedoxPath
source · pub enum RedoxPath<'a> {
Standard(RedoxReference<'a>),
Legacy(RedoxScheme<'a>, RedoxReference<'a>),
}Variants§
Standard(RedoxReference<'a>)
Standard UNIX compatible format
Legacy(RedoxScheme<'a>, RedoxReference<'a>)
Legacy URI format
Implementations§
source§impl<'a> RedoxPath<'a>
impl<'a> RedoxPath<'a>
sourcepub fn from_absolute(path: &'a str) -> Option<Self>
pub fn from_absolute(path: &'a str) -> Option<Self>
Create RedoxPath from absolute path
Returns Some on success and None if the path is not valid
Trait Implementations§
source§impl<'a> PartialEq for RedoxPath<'a>
impl<'a> PartialEq for RedoxPath<'a>
impl<'a> Eq for RedoxPath<'a>
impl<'a> StructuralEq for RedoxPath<'a>
impl<'a> StructuralPartialEq for RedoxPath<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RedoxPath<'a>
impl<'a> Send for RedoxPath<'a>
impl<'a> Sync for RedoxPath<'a>
impl<'a> Unpin for RedoxPath<'a>
impl<'a> UnwindSafe for RedoxPath<'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