Struct xpct::matchers::files::FileExistsMatcher
source · pub struct FileExistsMatcher { /* private fields */ }
Expand description
The matcher for be_existing_file
, be_regular_file
, be_directory
, and be_symlink
.
Implementations§
source§impl FileExistsMatcher
impl FileExistsMatcher
sourcepub fn new(mode: FileExistsMode) -> Self
pub fn new(mode: FileExistsMode) -> Self
Create a new FileExistsMatcher
with the given mode
.
Trait Implementations§
source§impl Debug for FileExistsMatcher
impl Debug for FileExistsMatcher
Auto Trait Implementations§
impl RefUnwindSafe for FileExistsMatcher
impl Send for FileExistsMatcher
impl Sync for FileExistsMatcher
impl Unpin for FileExistsMatcher
impl UnwindSafe for FileExistsMatcher
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