pub struct FileContext {
pub glob: String,
pub mode: CaptureMode,
pub hash: HashAlgorithm,
}Fields§
§glob: String§mode: CaptureMode§hash: HashAlgorithmTrait Implementations§
Source§impl Context for FileContext
impl Context for FileContext
type Output = FileCaptured
fn run(&self, params: &RuntimeParams) -> CoreResult<Self::Output>
Auto Trait Implementations§
impl Freeze for FileContext
impl RefUnwindSafe for FileContext
impl Send for FileContext
impl Sync for FileContext
impl Unpin for FileContext
impl UnwindSafe for FileContext
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