pub struct ReadRequest<'a> {
pub path: &'a Path,
pub project_root: &'a Path,
pub mode: &'a str,
pub fresh: bool,
pub crp_mode: CrpMode,
pub task: Option<&'a str>,
pub aggressiveness: Option<f64>,
pub protect: &'a [String],
}Expand description
Inputs for one existing Local file-read operation.
Fields§
§path: &'a Path§project_root: &'a Path§mode: &'a str§fresh: bool§crp_mode: CrpMode§task: Option<&'a str>§aggressiveness: Option<f64>§protect: &'a [String]Trait Implementations§
Source§impl<'a> Clone for ReadRequest<'a>
impl<'a> Clone for ReadRequest<'a>
impl<'a> Copy for ReadRequest<'a>
Auto Trait Implementations§
impl<'a> Forget for ReadRequest<'a>
impl<'a> Freeze for ReadRequest<'a>
impl<'a> Move for ReadRequest<'a>
impl<'a> RefUnwindSafe for ReadRequest<'a>
impl<'a> Send for ReadRequest<'a>
impl<'a> Sync for ReadRequest<'a>
impl<'a> Unpin for ReadRequest<'a>
impl<'a> UnsafeUnpin for ReadRequest<'a>
impl<'a> UnwindSafe for ReadRequest<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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