pub enum SourceRead {
Admitted(AdmittedRootedRead),
Withheld(String),
Unavailable(String),
}Expand description
Outcome of one rooted source acquisition.
Variants§
Admitted(AdmittedRootedRead)
The delivered text and the outcome of admitting the original.
Withheld(String)
Refused by a path rule, the project policy or the gateway. The reason is content-free.
Not a readable text source: missing, too large, binary, or the call’s read budget is used up. Nothing was inspected and nothing is delivered.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for SourceRead
impl Freeze for SourceRead
impl Move for SourceRead
impl RefUnwindSafe for SourceRead
impl Send for SourceRead
impl Sync for SourceRead
impl Unpin for SourceRead
impl UnsafeUnpin for SourceRead
impl UnwindSafe for SourceRead
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
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