canic-core 0.99.1

Canic — a canister orchestration and management toolkit for the Internet Computer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{
    dto::topology::SubnetRegistryResponse, workflow::topology::registry::query::SubnetRegistryQuery,
};

///
/// SubnetRegistryApi
///

pub struct SubnetRegistryApi;

impl SubnetRegistryApi {
    #[must_use]
    pub fn registry() -> SubnetRegistryResponse {
        SubnetRegistryQuery::registry()
    }
}