pub struct SharedOperatorCredentialReissue { /* private fields */ }Expand description
The endpoint’s slot for the participant authority.
The health server binds BEFORE the participant handler exists, exactly as it does for the refused-load record, so the authority is published into this slot once built. Until then the route answers “no participant is installed” rather than pretending an identity is unknown.
Implementations§
Sourcepub fn install(&self, reissuer: Arc<dyn OperatorCredentialReissuer>)
pub fn install(&self, reissuer: Arc<dyn OperatorCredentialReissuer>)
Publishes the participant authority into the surface.
Sourcepub fn participant_installed(&self) -> bool
pub fn participant_installed(&self) -> bool
Whether a participant authority is installed at all.
Sourcepub fn reissue(
&self,
request: OperatorCredentialReissueRequest,
) -> Result<Option<OperatorCredentialReissueOutcome>, OperatorCredentialReissueError>
pub fn reissue( &self, request: OperatorCredentialReissueRequest, ) -> Result<Option<OperatorCredentialReissueOutcome>, OperatorCredentialReissueError>
Runs one re-issue, or reports that no participant is installed.
§Errors
Returns OperatorCredentialReissueError when the operation could not
be decided.
Trait Implementations§
Source§fn clone(&self) -> SharedOperatorCredentialReissue
fn clone(&self) -> SharedOperatorCredentialReissue
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§fn default() -> SharedOperatorCredentialReissue
fn default() -> SharedOperatorCredentialReissue
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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