pub struct MockPathStrategy;Expand description
A mocked implementation of the path strategy
TODO: Get a central documentation for mocked data
Trait Implementations§
Source§impl Debug for MockPathStrategy
impl Debug for MockPathStrategy
Source§impl Default for MockPathStrategy
impl Default for MockPathStrategy
Source§fn default() -> MockPathStrategy
fn default() -> MockPathStrategy
Returns the “default value” for a type. Read more
Source§impl PathStrategy for MockPathStrategy
impl PathStrategy for MockPathStrategy
Source§fn get_containing_directory<T>(&self, repository: T) -> Result<PathBuf>where
T: Into<RepositoryLocation>,
fn get_containing_directory<T>(&self, repository: T) -> Result<PathBuf>where
T: Into<RepositoryLocation>,
Get the containing directory for a repository Read more
Source§fn get_directory<T>(&self, repository: T) -> Result<PathBuf>where
T: Into<RepositoryLocation>,
fn get_directory<T>(&self, repository: T) -> Result<PathBuf>where
T: Into<RepositoryLocation>,
Get the directory for a repository Read more
Auto Trait Implementations§
impl Freeze for MockPathStrategy
impl RefUnwindSafe for MockPathStrategy
impl Send for MockPathStrategy
impl Sync for MockPathStrategy
impl Unpin for MockPathStrategy
impl UnwindSafe for MockPathStrategy
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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