pub async fn put(
    url: Option<Url2>,
    agent_info_signed: crate::types::agent_store::AgentInfoSigned,
) -> crate::types::actor::KitsuneP2pResult<()> {
    match do_api(url, OP_PUT, agent_info_signed).await {
        Ok(Some(())) => Ok(()),
        Ok(None) => Ok(()),
        Err(e) => Err(e),
    }
}
/// `do_api` wrapper for the `put` op.
///
/// Input must be an AgentInfoSigned with a valid siganture otherwise the remote service will not
/// accept the data.
`do_api` wrapper for the `put` op.
Input must be an AgentInfoSigned with a valid siganture otherwise the remote service will not
accept the data.
` do_api ` wrapper for the ` put ` op . Input must be an AgentInfoSigned with a valid siganture otherwise the remote service will not accept the data .
pub async fn put(
    url: Option<Url2>,
    agent_info_signed: crate::types::agent_store::AgentInfoSigned,
) -> crate::types::actor::KitsuneP2pResult<()> {
    match do_api(url, OP_PUT, agent_info_signed).await {
        Ok(Some(())) => Ok(()),
        Ok(None) => Ok(()),
        Err(e) => Err(e),
    }
}
pub async fn put ( url : Option < Url2 > , agent_info_signed : crate :: types :: agent_store :: AgentInfoSigned , ) -> crate :: types :: actor :: KitsuneP2pResult < ( ) > { match do_api ( url , OP_PUT , agent_info_signed ) . await { Ok ( Some ( ( ) ) ) => Ok ( ( ) ) , Ok ( None ) => Ok ( ( ) ) , Err ( e ) => Err ( e ) , } }
`do_api` wrapper for the `put` op.
` do_api ` wrapper for the ` put ` op .
url
Option<Url2>
agent_info_signed
crate::types::agent_store::AgentInfoSigned
url
Option<Url2>
agent_info_signed
crate::types::agent_store::AgentInfoSigned