pub struct ProviderDownload<W: MessageWriter<Error = Error>, R: MessageReader<Error = Error>> { /* private fields */ }Expand description
An authenticated Fetch exchange whose request half remains open for exact consent and the final verified result. Dropping it aborts both halves.
Implementations§
Source§impl<W: MessageWriter<Error = Error>, R: MessageReader<Error = Error>> ProviderDownload<W, R>
impl<W: MessageWriter<Error = Error>, R: MessageReader<Error = Error>> ProviderDownload<W, R>
pub async fn negotiate( self, signer: &impl ProviderConsentSigner, ) -> Result<ProviderPlanSession<W, R>, Error>
Auto Trait Implementations§
impl<W, R> Freeze for ProviderDownload<W, R>
impl<W, R> RefUnwindSafe for ProviderDownload<W, R>
impl<W, R> Send for ProviderDownload<W, R>
impl<W, R> Sync for ProviderDownload<W, R>
impl<W, R> Unpin for ProviderDownload<W, R>
impl<W, R> UnsafeUnpin for ProviderDownload<W, R>
impl<W, R> UnwindSafe for ProviderDownload<W, R>
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> 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