pub struct GattApplication {
pub services: Vec<Service>,
}Fields§
§services: Vec<Service>Implementations§
Source§impl GattApplication
impl GattApplication
pub fn serve(self) -> Result<ApplicationHandle, Error>
Trait Implementations§
Source§impl From<GattApplication> for Application
impl From<GattApplication> for Application
Source§fn from(value: GattApplication) -> Self
fn from(value: GattApplication) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GattApplication
impl !RefUnwindSafe for GattApplication
impl Send for GattApplication
impl Sync for GattApplication
impl Unpin for GattApplication
impl !UnwindSafe for GattApplication
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