pub struct FeatureConfig {
pub trel_enabled: Option<bool>,
pub nat64_enabled: Option<bool>,
pub srp_replication_enabled: Option<bool>,
pub detailed_logging_enabled: Option<bool>,
pub detailed_logging_level: Option<DetailedLoggingLevel>,
pub dhcpv6_pd_enabled: Option<bool>,
pub dns_upstream_query_enabled: Option<bool>,
pub link_metrics_manager_enabled: Option<bool>,
/* private fields */
}
Expand description
OpenThread feature configuration.
This table describes what OpenThread features are enabled or disabled
for a given interface. See the [Feature
] protocol for more information.
Fields§
§trel_enabled: Option<bool>
Determines if TREL is enabled or disabled.
nat64_enabled: Option<bool>
Determines if NAT64 is enabled or disabled.
srp_replication_enabled: Option<bool>
Determines if SRP replication is enabled or disabled.
detailed_logging_enabled: Option<bool>
Determines if detailed logging is enabled. If set to false, default logging level set in config file should be used in lowpan-ot-driver.
detailed_logging_level: Option<DetailedLoggingLevel>
Set target log level. The value will be used only if
detailed_logging_enabled
is set to true.
dhcpv6_pd_enabled: Option<bool>
Determines if DHCPv6-PD is enabled or disabled.
dns_upstream_query_enabled: Option<bool>
Determines if DNS upstream query is enabled or disabled.
link_metrics_manager_enabled: Option<bool>
Determines if Link Metrics Manager is enabled or disabled.
Trait Implementations§
Source§impl Clone for FeatureConfig
impl Clone for FeatureConfig
Source§fn clone(&self) -> FeatureConfig
fn clone(&self) -> FeatureConfig
Returns a copy 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 FeatureConfig
impl Debug for FeatureConfig
Source§impl<D: ResourceDialect> Decode<FeatureConfig, D> for FeatureConfig
impl<D: ResourceDialect> Decode<FeatureConfig, D> for FeatureConfig
Source§impl Default for FeatureConfig
impl Default for FeatureConfig
Source§fn default() -> FeatureConfig
fn default() -> FeatureConfig
Returns the “default value” for a type. Read more
Source§impl<D: ResourceDialect> Encode<FeatureConfig, D> for &FeatureConfig
impl<D: ResourceDialect> Encode<FeatureConfig, D> for &FeatureConfig
Source§impl PartialEq for FeatureConfig
impl PartialEq for FeatureConfig
Source§impl TypeMarker for FeatureConfig
impl TypeMarker for FeatureConfig
Source§type Owned = FeatureConfig
type Owned = FeatureConfig
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for FeatureConfig
impl ValueTypeMarker for FeatureConfig
Source§type Borrowed<'a> = &'a FeatureConfig
type Borrowed<'a> = &'a FeatureConfig
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for FeatureConfig
impl StructuralPartialEq for FeatureConfig
Auto Trait Implementations§
impl Freeze for FeatureConfig
impl RefUnwindSafe for FeatureConfig
impl Send for FeatureConfig
impl Sync for FeatureConfig
impl Unpin for FeatureConfig
impl UnwindSafe for FeatureConfig
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)