Variants
Path(PathBuf)
A path to a local file. Symbol files at local paths are allowed to refer
to source files on the local file system. Those source file references
will be returned as local FilePath
s from the symbolication API.
Custom(String)
A special string that identifies some way of obtaining the file. The string
gets interpreted by the implementation of FileAndPathHelper::open_file
.
Files from this location type cannot refer to source files on the local
file system; any source file references in them are returned as
FilePath::NonLocal
.
Implementations
sourceimpl FileLocation
impl FileLocation
pub fn to_string_lossy(&self) -> String
pub fn to_base_path(&self) -> BasePath
Trait Implementations
sourceimpl Clone for FileLocation
impl Clone for FileLocation
sourcefn clone(&self) -> FileLocation
fn clone(&self) -> FileLocation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FileLocation
impl Debug for FileLocation
sourceimpl PartialEq<FileLocation> for FileLocation
impl PartialEq<FileLocation> for FileLocation
sourcefn eq(&self, other: &FileLocation) -> bool
fn eq(&self, other: &FileLocation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FileLocation) -> bool
fn ne(&self, other: &FileLocation) -> bool
This method tests for !=
.
impl Eq for FileLocation
impl StructuralEq for FileLocation
impl StructuralPartialEq for FileLocation
Auto Trait Implementations
impl RefUnwindSafe for FileLocation
impl Send for FileLocation
impl Sync for FileLocation
impl Unpin for FileLocation
impl UnwindSafe for FileLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more