#[non_exhaustive]pub struct Host<'stack, C> {
pub central: Central<'stack, C>,
pub peripheral: Peripheral<'stack, C>,
pub runner: Runner<'stack, C>,
}
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>
Central role
peripheral: Peripheral<'stack, C>
Peripheral role
runner: Runner<'stack, C>
Host runner
Auto Trait Implementations§
impl<'stack, C> Freeze for Host<'stack, C>
impl<'stack, C> !RefUnwindSafe for Host<'stack, C>
impl<'stack, C> !Send for Host<'stack, C>
impl<'stack, C> !Sync for Host<'stack, C>
impl<'stack, C> Unpin for Host<'stack, C>
impl<'stack, C> !UnwindSafe for Host<'stack, C>
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