pub struct ConnectionCompleteBuilder {
pub bd_addr: Address,
pub connection_handle: u16,
pub encryption_enabled: Enable,
pub link_type: LinkType,
pub status: ErrorCode,
}Fields§
§bd_addr: Address§connection_handle: u16§encryption_enabled: Enable§link_type: LinkType§status: ErrorCodeImplementations§
Source§impl ConnectionCompleteBuilder
impl ConnectionCompleteBuilder
pub fn build(self) -> ConnectionComplete
Trait Implementations§
Source§impl Debug for ConnectionCompleteBuilder
impl Debug for ConnectionCompleteBuilder
Source§impl From<ConnectionCompleteBuilder> for ConnectionComplete
impl From<ConnectionCompleteBuilder> for ConnectionComplete
Source§fn from(builder: ConnectionCompleteBuilder) -> ConnectionComplete
fn from(builder: ConnectionCompleteBuilder) -> ConnectionComplete
Converts to this type from the input type.
Source§impl From<ConnectionCompleteBuilder> for Event
impl From<ConnectionCompleteBuilder> for Event
Source§fn from(builder: ConnectionCompleteBuilder) -> Event
fn from(builder: ConnectionCompleteBuilder) -> Event
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConnectionCompleteBuilder
impl RefUnwindSafe for ConnectionCompleteBuilder
impl Send for ConnectionCompleteBuilder
impl Sync for ConnectionCompleteBuilder
impl Unpin for ConnectionCompleteBuilder
impl UnwindSafe for ConnectionCompleteBuilder
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