pub struct DistributedReplayCatalog {
pub logs: Vec<DistributedReplayLog>,
pub failures: Vec<DistributedReplayDiscoveryFailure>,
}Expand description
Result of scanning one or more paths for distributed replay logs.
Fields§
§logs: Vec<DistributedReplayLog>§failures: Vec<DistributedReplayDiscoveryFailure>Implementations§
Source§impl DistributedReplayCatalog
impl DistributedReplayCatalog
Sourcepub fn discover<I, P>(inputs: I) -> CuResult<Self>
pub fn discover<I, P>(inputs: I) -> CuResult<Self>
Discover logs from a list of files and/or directories.
Directories are traversed recursively. Any physical slab file
(*_0.copper, *_1.copper, …) is normalized back to its base log path.
Sourcepub fn discover_under(root: impl AsRef<Path>) -> CuResult<Self>
pub fn discover_under(root: impl AsRef<Path>) -> CuResult<Self>
Convenience wrapper for recursive discovery rooted at one directory.
Trait Implementations§
Source§impl Clone for DistributedReplayCatalog
impl Clone for DistributedReplayCatalog
Source§fn clone(&self) -> DistributedReplayCatalog
fn clone(&self) -> DistributedReplayCatalog
Returns a duplicate of the value. Read more
1.0.0 · 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 DistributedReplayCatalog
impl Debug for DistributedReplayCatalog
Source§impl Default for DistributedReplayCatalog
impl Default for DistributedReplayCatalog
Source§fn default() -> DistributedReplayCatalog
fn default() -> DistributedReplayCatalog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DistributedReplayCatalog
impl RefUnwindSafe for DistributedReplayCatalog
impl Send for DistributedReplayCatalog
impl Sync for DistributedReplayCatalog
impl Unpin for DistributedReplayCatalog
impl UnsafeUnpin for DistributedReplayCatalog
impl UnwindSafe for DistributedReplayCatalog
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