pub struct StatusWorkflow;Expand description
Status workflow for reporting Auths state.
This workflow aggregates information from identity storage, device attestations, and agent status to produce a unified StatusReport suitable for CLI display.
Usage:
ⓘ
let report = StatusWorkflow::query(&ctx, Utc::now())?;
println!("Identity: {}", report.identity.controller_did);Implementations§
Source§impl StatusWorkflow
impl StatusWorkflow
Sourcepub fn query(
repo_path: &Path,
_now: DateTime<Utc>,
) -> Result<StatusReport, String>
pub fn query( repo_path: &Path, _now: DateTime<Utc>, ) -> Result<StatusReport, String>
Query the current status of the Auths system.
Args:
repo_path- Path to the Auths repository.now- Current time for expiry calculations.
Returns a StatusReport with identity, device, and agent state.
This is a placeholder implementation; the real version will integrate with IdentityStorage, AttestationSource, and agent discovery ports.
Auto Trait Implementations§
impl Freeze for StatusWorkflow
impl RefUnwindSafe for StatusWorkflow
impl Send for StatusWorkflow
impl Sync for StatusWorkflow
impl Unpin for StatusWorkflow
impl UnsafeUnpin for StatusWorkflow
impl UnwindSafe for StatusWorkflow
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