Function junobuild_shared::ic::segment_status
source · pub async fn segment_status(canister_id: CanisterId) -> SegmentStatusResultExpand description
Fetches the status of a segment (canister), including its configuration and resource usage.
§Arguments
canister_id: TheCanisterIdof the segment canister.
§Returns
SegmentStatusResult: Contains detailed status and settings of the canister on success.Err(String): On failure, returns an error message.