pub struct NotificationStateBuilder { /* private fields */ }Expand description
Builder for NotificationState.
Implementations§
Source§impl NotificationStateBuilder
impl NotificationStateBuilder
Sourcepub fn wireless_notifications(&mut self, value: bool) -> &mut Self
pub fn wireless_notifications(&mut self, value: bool) -> &mut Self
Whether the receiver sends device arrival/removal notifications.
Sourcepub fn build(&self) -> Result<NotificationState, NotificationStateBuilderError>
pub fn build(&self) -> Result<NotificationState, NotificationStateBuilderError>
Trait Implementations§
Source§impl Clone for NotificationStateBuilder
impl Clone for NotificationStateBuilder
Source§fn clone(&self) -> NotificationStateBuilder
fn clone(&self) -> NotificationStateBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NotificationStateBuilder
impl RefUnwindSafe for NotificationStateBuilder
impl Send for NotificationStateBuilder
impl Sync for NotificationStateBuilder
impl Unpin for NotificationStateBuilder
impl UnsafeUnpin for NotificationStateBuilder
impl UnwindSafe for NotificationStateBuilder
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