mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-02 19:56:14 -04:00
fix doc comment
This commit is contained in:
parent
6282bfd1c5
commit
93d0031158
1 changed files with 3 additions and 2 deletions
|
@ -228,10 +228,11 @@ impl RoutingContext {
|
||||||
///////////////////////////////////
|
///////////////////////////////////
|
||||||
/// DHT Records
|
/// DHT Records
|
||||||
|
|
||||||
/// Creates a new DHT record a specified crypto kind and schema.
|
/// Creates a new DHT record
|
||||||
///
|
///
|
||||||
/// The record is considered 'open' after the create operation succeeds.
|
/// The record is considered 'open' after the create operation succeeds.
|
||||||
///
|
/// * 'schema' - the schema to use when creating the DHT record
|
||||||
|
/// * 'kind' - specify a cryptosystem kind to use. Normally you will leave this as None to choose the 'best' cryptosystem available.
|
||||||
/// Returns the newly allocated DHT record's key if successful.
|
/// Returns the newly allocated DHT record's key if successful.
|
||||||
#[instrument(target = "veilid_api", level = "debug", ret, err)]
|
#[instrument(target = "veilid_api", level = "debug", ret, err)]
|
||||||
pub async fn create_dht_record(
|
pub async fn create_dht_record(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue