pub struct SetSimulatedCentralStateBuilder { /* private fields */ }Implementations§
Source§impl SetSimulatedCentralStateBuilder
impl SetSimulatedCentralStateBuilder
pub fn state(self, state: impl Into<CentralState>) -> Self
pub fn build(self) -> Result<SetSimulatedCentralState, String>
Trait Implementations§
Source§impl Clone for SetSimulatedCentralStateBuilder
impl Clone for SetSimulatedCentralStateBuilder
Source§fn clone(&self) -> SetSimulatedCentralStateBuilder
fn clone(&self) -> SetSimulatedCentralStateBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SetSimulatedCentralStateBuilder
impl Default for SetSimulatedCentralStateBuilder
Source§fn default() -> SetSimulatedCentralStateBuilder
fn default() -> SetSimulatedCentralStateBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetSimulatedCentralStateBuilder
impl RefUnwindSafe for SetSimulatedCentralStateBuilder
impl Send for SetSimulatedCentralStateBuilder
impl Sync for SetSimulatedCentralStateBuilder
impl Unpin for SetSimulatedCentralStateBuilder
impl UnsafeUnpin for SetSimulatedCentralStateBuilder
impl UnwindSafe for SetSimulatedCentralStateBuilder
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