pub struct Srv<L, C, P, S, PA, DA> { /* private fields */ }
Implementations§
Source§impl<L, C, P, S, PA, DA> Srv<L, C, P, S, PA, DA>where
L: 'static + AuditLogger + Send + Sync + Clone,
C: 'static + ReasonerConnector<L> + Send + Sync,
P: 'static + PolicyDataAccess + Send + Sync,
S: 'static + StateResolver + Send + Sync,
PA: 'static + AuthResolver + Send + Sync,
DA: 'static + AuthResolver + Send + Sync,
C::Context: Send + Sync + Debug + Serialize,
impl<L, C, P, S, PA, DA> Srv<L, C, P, S, PA, DA>where
L: 'static + AuditLogger + Send + Sync + Clone,
C: 'static + ReasonerConnector<L> + Send + Sync,
P: 'static + PolicyDataAccess + Send + Sync,
S: 'static + StateResolver + Send + Sync,
PA: 'static + AuthResolver + Send + Sync,
DA: 'static + AuthResolver + Send + Sync,
C::Context: Send + Sync + Debug + Serialize,
pub fn deliberation_handlers( this: Arc<Self>, ) -> impl Filter<Extract = impl Reply, Error = Rejection> + Clone
pub fn with_deliberation_api_auth( this: Arc<Self>, ) -> impl Filter<Extract = (AuthContext,), Error = Rejection> + Clone
Source§impl<L, C, P, S, PA, DA> Srv<L, C, P, S, PA, DA>where
L: 'static + AuditLogger + Send + Sync + Clone,
C: 'static + ReasonerConnector<L> + Send + Sync,
P: 'static + PolicyDataAccess + Send + Sync,
S: 'static + StateResolver + Send + Sync,
PA: 'static + AuthResolver + Send + Sync,
DA: 'static + AuthResolver + Send + Sync,
C::Context: Send + Sync + Debug + Serialize,
impl<L, C, P, S, PA, DA> Srv<L, C, P, S, PA, DA>where
L: 'static + AuditLogger + Send + Sync + Clone,
C: 'static + ReasonerConnector<L> + Send + Sync,
P: 'static + PolicyDataAccess + Send + Sync,
S: 'static + StateResolver + Send + Sync,
PA: 'static + AuthResolver + Send + Sync,
DA: 'static + AuthResolver + Send + Sync,
C::Context: Send + Sync + Debug + Serialize,
Source§impl<L, C, P, S, PA, DA> Srv<L, C, P, S, PA, DA>where
L: 'static + AuditLogger + Send + Sync + Clone,
C: 'static + ReasonerConnector<L> + Send + Sync,
P: 'static + PolicyDataAccess + Send + Sync,
S: 'static + StateResolver + Send + Sync,
PA: 'static + AuthResolver + Send + Sync,
DA: 'static + AuthResolver + Send + Sync,
C::Context: Send + Sync + Debug + Serialize,
impl<L, C, P, S, PA, DA> Srv<L, C, P, S, PA, DA>where
L: 'static + AuditLogger + Send + Sync + Clone,
C: 'static + ReasonerConnector<L> + Send + Sync,
P: 'static + PolicyDataAccess + Send + Sync,
S: 'static + StateResolver + Send + Sync,
PA: 'static + AuthResolver + Send + Sync,
DA: 'static + AuthResolver + Send + Sync,
C::Context: Send + Sync + Debug + Serialize,
Source§impl<L, C, P, S, PA, DA> Srv<L, C, P, S, PA, DA>where
L: 'static + AuditLogger + Send + Sync + Clone,
C: 'static + ReasonerConnector<L> + Send + Sync,
P: 'static + PolicyDataAccess + Send + Sync,
S: 'static + StateResolver + Send + Sync,
PA: 'static + AuthResolver + Send + Sync,
DA: 'static + AuthResolver + Send + Sync,
C::Context: Send + Sync + Debug + Serialize,
impl<L, C, P, S, PA, DA> Srv<L, C, P, S, PA, DA>where
L: 'static + AuditLogger + Send + Sync + Clone,
C: 'static + ReasonerConnector<L> + Send + Sync,
P: 'static + PolicyDataAccess + Send + Sync,
S: 'static + StateResolver + Send + Sync,
PA: 'static + AuthResolver + Send + Sync,
DA: 'static + AuthResolver + Send + Sync,
C::Context: Send + Sync + Debug + Serialize,
Auto Trait Implementations§
impl<L, C, P, S, PA, DA> Freeze for Srv<L, C, P, S, PA, DA>
impl<L, C, P, S, PA, DA> RefUnwindSafe for Srv<L, C, P, S, PA, DA>where
L: RefUnwindSafe,
C: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
PA: RefUnwindSafe,
DA: RefUnwindSafe,
impl<L, C, P, S, PA, DA> Send for Srv<L, C, P, S, PA, DA>
impl<L, C, P, S, PA, DA> Sync for Srv<L, C, P, S, PA, DA>
impl<L, C, P, S, PA, DA> Unpin for Srv<L, C, P, S, PA, DA>
impl<L, C, P, S, PA, DA> UnwindSafe for Srv<L, C, P, S, PA, DA>
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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request