pub struct ReticulumSection {Show 20 fields
pub enable_transport: bool,
pub share_instance: bool,
pub instance_name: String,
pub shared_instance_port: u16,
pub instance_control_port: u16,
pub panic_on_interface_error: bool,
pub use_implicit_proof: bool,
pub network_identity: Option<String>,
pub respond_to_probes: bool,
pub enable_remote_management: bool,
pub remote_management_allowed: Vec<String>,
pub publish_blackhole: bool,
pub probe_port: Option<u16>,
pub probe_addr: Option<String>,
pub probe_protocol: Option<String>,
pub device: Option<String>,
pub discover_interfaces: bool,
pub required_discovery_value: Option<u8>,
pub prefer_shorter_path: bool,
pub max_paths_per_destination: usize,
}Expand description
The [reticulum] section.
Fields§
§enable_transport: bool§instance_name: String§instance_control_port: u16§panic_on_interface_error: bool§use_implicit_proof: bool§network_identity: Option<String>§respond_to_probes: bool§enable_remote_management: bool§remote_management_allowed: Vec<String>§publish_blackhole: bool§probe_port: Option<u16>§probe_addr: Option<String>§probe_protocol: Option<String>Protocol for endpoint discovery: “rnsp” (default) or “stun”.
device: Option<String>Network interface to bind outbound sockets to (e.g. “usb0”).
discover_interfaces: boolEnable interface discovery (advertise discoverable interfaces and listen for discovery announces from the network).
required_discovery_value: Option<u8>Minimum stamp value for accepting discovered interfaces.
prefer_shorter_path: boolAccept an announce with strictly fewer hops even when the random_blob is a duplicate of the existing path entry.
max_paths_per_destination: usizeMaximum number of alternative paths stored per destination. Default 1 (single path, backward-compatible).
Trait Implementations§
Source§impl Clone for ReticulumSection
impl Clone for ReticulumSection
Source§fn clone(&self) -> ReticulumSection
fn clone(&self) -> ReticulumSection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReticulumSection
impl Debug for ReticulumSection
Auto Trait Implementations§
impl Freeze for ReticulumSection
impl RefUnwindSafe for ReticulumSection
impl Send for ReticulumSection
impl Sync for ReticulumSection
impl Unpin for ReticulumSection
impl UnsafeUnpin for ReticulumSection
impl UnwindSafe for ReticulumSection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more