#[non_exhaustive]pub struct Host<'stack, C, P: PacketPool> {
pub central: Central<'stack, C, P>,
pub peripheral: Peripheral<'stack, C, P>,
pub runner: Runner<'stack, C, P>,
}
Expand description
Host components.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.central: Central<'stack, C, P>
Central role
peripheral: Peripheral<'stack, C, P>
Peripheral role
runner: Runner<'stack, C, P>
Host runner
Auto Trait Implementations§
impl<'stack, C, P> Freeze for Host<'stack, C, P>
impl<'stack, C, P> !RefUnwindSafe for Host<'stack, C, P>
impl<'stack, C, P> !Send for Host<'stack, C, P>
impl<'stack, C, P> !Sync for Host<'stack, C, P>
impl<'stack, C, P> Unpin for Host<'stack, C, P>
impl<'stack, C, P> !UnwindSafe for Host<'stack, C, P>
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