pub struct LocalStateReview { /* private fields */ }Expand description
Deep local review module used in-process by native CLI commands.
Implementations§
Source§impl LocalStateReview
impl LocalStateReview
pub fn new(inner: LocalReviewContext) -> Self
pub fn get_review_payload( &self, state_id: StateId, include_all_signals: bool, ) -> Result<ReviewPayload, LocalReviewError>
Sourcepub fn get_review_payload_from(
&self,
state_id: StateId,
include_all_signals: bool,
base_state_id: Option<StateId>,
) -> Result<ReviewPayload, LocalReviewError>
pub fn get_review_payload_from( &self, state_id: StateId, include_all_signals: bool, base_state_id: Option<StateId>, ) -> Result<ReviewPayload, LocalReviewError>
Build the existing review payload with an optional named change-list
base. None preserves state-vs-first-parent review behavior.
pub async fn sign_state( &self, req: SignReviewRequest, ) -> Result<SignReviewResult, LocalReviewError>
pub fn list_signatures( &self, state_id: StateId, ) -> Result<Vec<StoredReviewSignature>, LocalReviewError>
Trait Implementations§
Source§impl Clone for LocalStateReview
impl Clone for LocalStateReview
Source§fn clone(&self) -> LocalStateReview
fn clone(&self) -> LocalStateReview
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for LocalStateReview
impl !UnwindSafe for LocalStateReview
impl Freeze for LocalStateReview
impl Send for LocalStateReview
impl Sync for LocalStateReview
impl Unpin for LocalStateReview
impl UnsafeUnpin for LocalStateReview
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