pub struct RoleDiscoveryCompleteBuilder {
pub connection_handle: u16,
pub current_role: Role,
pub num_hci_command_packets: u8,
pub status: ErrorCode,
}Fields§
§connection_handle: u16§current_role: Role§num_hci_command_packets: u8§status: ErrorCodeImplementations§
Source§impl RoleDiscoveryCompleteBuilder
impl RoleDiscoveryCompleteBuilder
pub fn build(self) -> RoleDiscoveryComplete
Trait Implementations§
Source§impl Debug for RoleDiscoveryCompleteBuilder
impl Debug for RoleDiscoveryCompleteBuilder
Source§impl From<RoleDiscoveryCompleteBuilder> for CommandComplete
impl From<RoleDiscoveryCompleteBuilder> for CommandComplete
Source§fn from(builder: RoleDiscoveryCompleteBuilder) -> CommandComplete
fn from(builder: RoleDiscoveryCompleteBuilder) -> CommandComplete
Converts to this type from the input type.
Source§impl From<RoleDiscoveryCompleteBuilder> for Event
impl From<RoleDiscoveryCompleteBuilder> for Event
Source§fn from(builder: RoleDiscoveryCompleteBuilder) -> Event
fn from(builder: RoleDiscoveryCompleteBuilder) -> Event
Converts to this type from the input type.
Source§impl From<RoleDiscoveryCompleteBuilder> for RoleDiscoveryComplete
impl From<RoleDiscoveryCompleteBuilder> for RoleDiscoveryComplete
Source§fn from(builder: RoleDiscoveryCompleteBuilder) -> RoleDiscoveryComplete
fn from(builder: RoleDiscoveryCompleteBuilder) -> RoleDiscoveryComplete
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RoleDiscoveryCompleteBuilder
impl RefUnwindSafe for RoleDiscoveryCompleteBuilder
impl Send for RoleDiscoveryCompleteBuilder
impl Sync for RoleDiscoveryCompleteBuilder
impl Unpin for RoleDiscoveryCompleteBuilder
impl UnwindSafe for RoleDiscoveryCompleteBuilder
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> 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