pub struct ConfigDataLinkLayerOnlyBuilder { /* private fields */ }
Expand description
Builder for ConfigData
.
Implementations§
Source§impl ConfigDataLinkLayerOnlyBuilder
impl ConfigDataLinkLayerOnlyBuilder
Sourcepub fn link_layer_only(self, ll_only: bool) -> ConfigDataRoleBuilder
pub fn link_layer_only(self, ll_only: bool) -> ConfigDataRoleBuilder
Specify whether to use the link layer only and continue building.
Sourcepub fn build(self) -> ConfigData
pub fn build(self) -> ConfigData
Build the ConfigData as-is. It includes the identity root, and may include fields before it, but does not include any fields after it (including the link layer only flag).
Auto Trait Implementations§
impl Freeze for ConfigDataLinkLayerOnlyBuilder
impl RefUnwindSafe for ConfigDataLinkLayerOnlyBuilder
impl Send for ConfigDataLinkLayerOnlyBuilder
impl Sync for ConfigDataLinkLayerOnlyBuilder
impl Unpin for ConfigDataLinkLayerOnlyBuilder
impl UnwindSafe for ConfigDataLinkLayerOnlyBuilder
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