pub enum UrlOrPath {
Url(Url),
Path(PathBuf),
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UrlOrPath
impl RefUnwindSafe for UrlOrPath
impl Send for UrlOrPath
impl Sync for UrlOrPath
impl Unpin for UrlOrPath
impl UnsafeUnpin for UrlOrPath
impl UnwindSafe for UrlOrPath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
Source§fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
Wraps
self in a SysWithPathsInErrors that includes paths in error messages.