Skip to main content

ReferenceConfigParams

Enum ReferenceConfigParams 

Source
pub enum ReferenceConfigParams {
Show 18 variants Auto { group_id: Option<String>, discovery_scope: Option<String>, discovery_port: Option<u16>, data_port: Option<u16>, devices: Option<Vec<String>>, ignored_devices: Option<Vec<String>>, multicast_address_type: Option<String>, }, TcpClient { target_host: Option<String>, target_port: Option<u16>, kiss_framing: Option<bool>, i2p_tunneled: Option<bool>, connect_timeout: Option<u64>, max_reconnect_tries: Option<u32>, fixed_mtu: Option<usize>, }, TcpServer { listen_ip: Option<String>, listen_port: Option<u16>, device: Option<String>, port: Option<u16>, prefer_ipv6: Option<bool>, i2p_tunneled: Option<bool>, kiss_framing: Option<bool>, fixed_mtu: Option<usize>, }, Udp { listen_ip: Option<String>, listen_port: Option<u16>, forward_ip: Option<String>, forward_port: Option<u16>, device: Option<String>, port: Option<u16>, }, Serial { port: Option<String>, speed: Option<u32>, databits: Option<u8>, parity: Option<String>, stopbits: Option<u8>, }, Rnode { port: Option<String>, radio: RNodeRadio, flow_control: Option<bool>, id_callsign: Option<String>, id_interval: Option<u64>, airtime_limit_short: Option<f64>, airtime_limit_long: Option<f64>, }, RnodeMulti { port: Option<String>, id_callsign: Option<String>, id_interval: Option<u64>, subinterfaces: Vec<RNodeSubinterface>, }, Kiss { port: Option<String>, speed: Option<u32>, databits: Option<u8>, parity: Option<String>, stopbits: Option<u8>, flow_control: Option<bool>, preamble: Option<u32>, txtail: Option<u32>, persistence: Option<u32>, slottime: Option<u32>, id_callsign: Option<String>, id_interval: Option<u64>, }, Ax25Kiss { port: Option<String>, speed: Option<u32>, databits: Option<u8>, parity: Option<String>, stopbits: Option<u8>, flow_control: Option<bool>, preamble: Option<u32>, txtail: Option<u32>, persistence: Option<u32>, slottime: Option<u32>, callsign: Option<String>, ssid: Option<u8>, }, Pipe { command: Option<String>, respawn_delay: Option<f64>, }, I2p { peers: Option<Vec<String>>, connectable: Option<bool>, }, Backbone { listen_ip: Option<String>, listen_port: Option<u16>, target_host: Option<String>, target_port: Option<u16>, port: Option<u16>, device: Option<String>, prefer_ipv6: Option<bool>, i2p_tunneled: Option<bool>, connect_timeout: Option<u64>, max_reconnect_tries: Option<u32>, }, Weave { port: Option<String>, }, PrnsUsbAuto, PrnsBluetoothAuto, PrnsWebSocketClient { target: Option<String>, }, PrnsWebSocketServer { listen_ip: Option<String>, listen_port: Option<u16>, device: Option<String>, port: Option<u16>, prefer_ipv6: Option<bool>, }, Unknown,
}

Variants§

§

Auto

Fields

§group_id: Option<String>
§discovery_scope: Option<String>
§discovery_port: Option<u16>
§data_port: Option<u16>
§devices: Option<Vec<String>>
§ignored_devices: Option<Vec<String>>
§multicast_address_type: Option<String>
§

TcpClient

Fields

§target_host: Option<String>
§target_port: Option<u16>
§kiss_framing: Option<bool>
§i2p_tunneled: Option<bool>
§connect_timeout: Option<u64>
§max_reconnect_tries: Option<u32>
§fixed_mtu: Option<usize>
§

TcpServer

Fields

§listen_ip: Option<String>
§listen_port: Option<u16>
§device: Option<String>
§port: Option<u16>
§prefer_ipv6: Option<bool>
§i2p_tunneled: Option<bool>
§kiss_framing: Option<bool>
§fixed_mtu: Option<usize>
§

Udp

Fields

§listen_ip: Option<String>
§listen_port: Option<u16>
§forward_ip: Option<String>
§forward_port: Option<u16>
§device: Option<String>
§port: Option<u16>
§

Serial

Fields

§speed: Option<u32>
§databits: Option<u8>
§parity: Option<String>
§stopbits: Option<u8>
§

Rnode

Fields

§flow_control: Option<bool>
§id_callsign: Option<String>
§id_interval: Option<u64>
§airtime_limit_short: Option<f64>
§airtime_limit_long: Option<f64>
§

RnodeMulti

Fields

§id_callsign: Option<String>
§id_interval: Option<u64>
§subinterfaces: Vec<RNodeSubinterface>
§

Kiss

Fields

§speed: Option<u32>
§databits: Option<u8>
§parity: Option<String>
§stopbits: Option<u8>
§flow_control: Option<bool>
§preamble: Option<u32>
§txtail: Option<u32>
§persistence: Option<u32>
§slottime: Option<u32>
§id_callsign: Option<String>
§id_interval: Option<u64>
§

Ax25Kiss

Fields

§speed: Option<u32>
§databits: Option<u8>
§parity: Option<String>
§stopbits: Option<u8>
§flow_control: Option<bool>
§preamble: Option<u32>
§txtail: Option<u32>
§persistence: Option<u32>
§slottime: Option<u32>
§callsign: Option<String>
§ssid: Option<u8>
§

Pipe

Fields

§command: Option<String>
§respawn_delay: Option<f64>
§

I2p

Fields

§connectable: Option<bool>
§

Backbone

Fields

§listen_ip: Option<String>
§listen_port: Option<u16>
§target_host: Option<String>
§target_port: Option<u16>
§port: Option<u16>
§device: Option<String>
§prefer_ipv6: Option<bool>
§i2p_tunneled: Option<bool>
§connect_timeout: Option<u64>
§max_reconnect_tries: Option<u32>
§

Weave

Fields

§

PrnsUsbAuto

§

PrnsBluetoothAuto

§

PrnsWebSocketClient

Fields

§target: Option<String>
§

PrnsWebSocketServer

Fields

§listen_ip: Option<String>
§listen_port: Option<u16>
§device: Option<String>
§port: Option<u16>
§prefer_ipv6: Option<bool>
§

Unknown

Trait Implementations§

Source§

impl Clone for ReferenceConfigParams

Source§

fn clone(&self) -> ReferenceConfigParams

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ReferenceConfigParams

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for ReferenceConfigParams

Source§

fn eq(&self, other: &ReferenceConfigParams) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ReferenceConfigParams

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.