pub enum TraceTarget {
RepoLocal,
Global,
Custom(PathBuf),
}Expand description
Where to write session traces.
Variants§
RepoLocal
Repo-local at <repo>/.devboy/sessions/. Default.
Global
Per-user at ~/.devboy/sessions/.
Custom(PathBuf)
Explicit directory — used by tests.
Implementations§
Source§impl TraceTarget
impl TraceTarget
Sourcepub fn sessions_root(&self) -> Result<PathBuf>
pub fn sessions_root(&self) -> Result<PathBuf>
Resolve the sessions/ root directory for this target.
Trait Implementations§
Source§impl Clone for TraceTarget
impl Clone for TraceTarget
Source§fn clone(&self) -> TraceTarget
fn clone(&self) -> TraceTarget
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 TraceTarget
impl RefUnwindSafe for TraceTarget
impl Send for TraceTarget
impl Sync for TraceTarget
impl Unpin for TraceTarget
impl UnsafeUnpin for TraceTarget
impl UnwindSafe for TraceTarget
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