pub struct LocalStateReviewService { /* private fields */ }Expand description
Local-mode StateReviewService implementation.
Implementations§
Source§impl LocalStateReviewService
impl LocalStateReviewService
pub fn new(inner: GrpcLocalService) -> Self
Trait Implementations§
Source§impl Clone for LocalStateReviewService
impl Clone for LocalStateReviewService
Source§fn clone(&self) -> LocalStateReviewService
fn clone(&self) -> LocalStateReviewService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl StateReviewService for LocalStateReviewService
impl StateReviewService for LocalStateReviewService
fn get_review_payload<'life0, 'async_trait>(
&'life0 self,
request: Request<GetReviewPayloadRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReviewPayload>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sign_state<'life0, 'async_trait>(
&'life0 self,
request: Request<SignStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SignStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_signatures<'life0, 'async_trait>(
&'life0 self,
request: Request<ListSignaturesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListSignaturesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn record_verdict<'life0, 'async_trait>(
&'life0 self,
_request: Request<RecordVerdictRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RecordVerdictResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn record_verdict<'life0, 'async_trait>(
&'life0 self,
_request: Request<RecordVerdictRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RecordVerdictResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
+weft#481: record a signed SIGN/HOLD/REJECT reviewer verdict. Fully
DECOUPLED from
StateStatus — a verdict is reviewer opinion appended to
the content-addressed signature blob and NEVER changes status or mints a
successor. REJECT authz = repo Write parity (same gate as a positive SIGN).Source§fn record_check_ack<'life0, 'async_trait>(
&'life0 self,
_request: Request<RecordCheckAckRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RecordCheckAckResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn record_check_ack<'life0, 'async_trait>(
&'life0 self,
_request: Request<RecordCheckAckRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RecordCheckAckResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
+weft#482: server-side review-check progress.
RecordCheckAck records a
signed per-file / per-risk-signal ack; GetReviewProgress returns the
acks (optionally filtered by user) so clients render “N/M reviewed” from
real evidence. Backed by a dedicated table; the wire is storage-invisible.fn get_review_progress<'life0, 'async_trait>(
&'life0 self,
_request: Request<GetReviewProgressRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetReviewProgressResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for LocalStateReviewService
impl !UnwindSafe for LocalStateReviewService
impl Freeze for LocalStateReviewService
impl Send for LocalStateReviewService
impl Sync for LocalStateReviewService
impl Unpin for LocalStateReviewService
impl UnsafeUnpin for LocalStateReviewService
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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