sylvia_iot_coremgr::libs::mq::emqx

Function post_acl

Source
pub async fn post_acl(
    client: &Client,
    opts: &ManagementOpts,
    hostname: &str,
    q_type: QueueType,
    username: &str,
) -> Result<(), ErrResp>
Expand description

To create an ACL rule of a topic for the user.