Function junobuild_shared::ic::segment_status

source ·
pub async fn segment_status(canister_id: CanisterId) -> SegmentStatusResult
Expand description

Fetches the status of a segment (canister), including its configuration and resource usage.

§Arguments

  • canister_id: The CanisterId of the segment canister.

§Returns

  • SegmentStatusResult: Contains detailed status and settings of the canister on success.
  • Err(String): On failure, returns an error message.