pub struct BundlePaths {
pub dir: PathBuf,
pub workflow: PathBuf,
pub state: PathBuf,
pub trace: PathBuf,
pub session: Option<PathBuf>,
pub artifacts: Option<PathBuf>,
}Fields§
§dir: PathBuf§workflow: PathBuf§state: PathBuf§trace: PathBuf§session: Option<PathBuf>§artifacts: Option<PathBuf>Implementations§
Source§impl BundlePaths
impl BundlePaths
pub fn from_manifest(dir: &Path, manifest: &Manifest) -> Self
pub fn session_binding(&self) -> Option<PathBuf>
pub fn session_entries(&self) -> Option<PathBuf>
pub fn session_events(&self) -> Option<PathBuf>
pub fn session_capture(&self) -> Option<PathBuf>
Trait Implementations§
Source§impl Clone for BundlePaths
impl Clone for BundlePaths
Source§fn clone(&self) -> BundlePaths
fn clone(&self) -> BundlePaths
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 BundlePaths
impl RefUnwindSafe for BundlePaths
impl Send for BundlePaths
impl Sync for BundlePaths
impl Unpin for BundlePaths
impl UnsafeUnpin for BundlePaths
impl UnwindSafe for BundlePaths
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more