pub struct ValidatedPath {
pub source_id: SourceId,
pub canonical: PathBuf,
}Expand description
A path that passed every boundary check. Only this type may be handed to file readers.
Fields§
§source_id: SourceId§canonical: PathBufTrait Implementations§
Source§impl Clone for ValidatedPath
impl Clone for ValidatedPath
Source§fn clone(&self) -> ValidatedPath
fn clone(&self) -> ValidatedPath
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 moreAuto Trait Implementations§
impl Freeze for ValidatedPath
impl RefUnwindSafe for ValidatedPath
impl Send for ValidatedPath
impl Sync for ValidatedPath
impl Unpin for ValidatedPath
impl UnsafeUnpin for ValidatedPath
impl UnwindSafe for ValidatedPath
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