pub struct ProfileDir { /* private fields */ }Expand description
Profile source directory snapshot
Implementations§
Trait Implementations§
Source§impl Clone for ProfileDir
impl Clone for ProfileDir
Source§fn clone(&self) -> ProfileDir
fn clone(&self) -> ProfileDir
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 ProfileDir
impl Debug for ProfileDir
Source§impl SnapshotTarget for ProfileDir
impl SnapshotTarget for ProfileDir
Source§fn storage_dir(&self, base_dir: &Path) -> PathBuf
fn storage_dir(&self, base_dir: &Path) -> PathBuf
Get the storage directory for snapshots of this target
Source§fn content_path(&self) -> &Path
fn content_path(&self) -> &Path
Get the content path to snapshot
Source§fn identifier(&self) -> String
fn identifier(&self) -> String
Get identifier for display/messages
Source§fn should_exclude(&self, path: &Path, _base: &Path) -> bool
fn should_exclude(&self, path: &Path, _base: &Path) -> bool
Check if a file should be excluded from snapshot
Source§fn not_found_error(&self) -> DotAgentError
fn not_found_error(&self) -> DotAgentError
Error to return when source doesn’t exist
Auto Trait Implementations§
impl Freeze for ProfileDir
impl RefUnwindSafe for ProfileDir
impl Send for ProfileDir
impl Sync for ProfileDir
impl Unpin for ProfileDir
impl UnsafeUnpin for ProfileDir
impl UnwindSafe for ProfileDir
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