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