pub trait FetchContextExt {
    // Required methods
    fn with_request_validation_receipt(
        &self,
        request_validation_receipt: bool
    ) -> Self;
    fn has_request_validation_receipt(&self) -> bool;
    fn with_countersigning_session(&self, countersigning_session: bool) -> Self;
    fn has_countersigning_session(&self) -> bool;
}
Expand description

Holochain-specific FetchContext extension trait.

Required Methods§

source

fn with_request_validation_receipt( &self, request_validation_receipt: bool ) -> Self

Applies the “request_validation_receipt” flag if the param is true otherwise, leaves the flag unchanged.

source

fn has_request_validation_receipt(&self) -> bool

Returns true if the “request_validation_receipt” flag is set.

source

fn with_countersigning_session(&self, countersigning_session: bool) -> Self

Applies the “countersigning_session” flag if the param is true otherwise, leaves the flag unchanged.

source

fn has_countersigning_session(&self) -> bool

Returns true if the “countersigning_session” flag is set.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FetchContextExt for FetchContext

source§

fn with_request_validation_receipt( &self, request_validation_receipt: bool ) -> Self

source§

fn has_request_validation_receipt(&self) -> bool

source§

fn with_countersigning_session(&self, countersigning_session: bool) -> Self

source§

fn has_countersigning_session(&self) -> bool

Implementors§