Crate zenoh_config

Crate zenoh_config 

Source
Expand description

⚠️ WARNING ⚠️

This crate is intended for Zenoh’s internal use.

Click here for Zenoh’s documentation

Configuration to pass to zenoh::open() and zenoh::scout() functions and associated constants.

Re-exports§

pub use wrappers::ZenohId;
pub use mode_dependent::*;
pub use connection_retry::*;

Modules§

connection_retry
defaults
mode_dependent
qos
whatami
Constants and helpers for zenoh whatami flags.
wrappers
Wrappers around types reexported by zenoh from subcrates. These wrappers are used to avoid exposing the the API necessary only for zenoh internals into the public API.

Macros§

unwrap_or_default

Structs§

AclConfigPolicyEntry
AclConfigRule
AclConfigSubjects
CertCommonName
ConfRange
DownsamplingItemConf
DownsamplingRuleConf
EndPoint
A string that respects the EndPoint canon form: <locator>[#<config>].
Interface
Locator
A string that respects the Locator canon form: <proto>/<address>[?<metadata>].
LowPassFilterConf
PluginLoad
PluginsConfig
This part of the configuration is highly dynamic (any serde_json::Value may be put in there), but should follow this scheme:
PolicyRule
QosOverwriteItemConf
SecretString
TransportWeight
Username
WhatAmIMatcher
WhatAmIMatcherVisitor

Enums§

AclMessage
AutoConnectStrategy
Strategy for autoconnection, mainly to avoid nodes connecting to each other redundantly.
ConfigOpenErr
DownsamplingMessage
GetError
InterceptorFlow
InterceptorLink
LowPassFilterMessage
Permission
QueueAllocMode
ShmInitMode
WhatAmI

Traits§

ConfigValidator
ValidatedMap

Functions§

client
Creates a default 'client' mode zenoh net Session configuration.
default
Creates a default zenoh net Session configuration (equivalent to peer).
empty
Creates an empty zenoh net Session configuration.
peer
Creates a default 'peer' mode zenoh net Session configuration.

Type Aliases§

SecretValue