pub struct SetSimulatedCentralStateBuilder { /* private fields */ }Expand description
Builder for SetSimulatedCentralState.
Implementations§
Source§impl SetSimulatedCentralStateBuilder
impl SetSimulatedCentralStateBuilder
Sourcepub fn state<VALUE: Into<CentralState>>(&mut self, value: VALUE) -> &mut Self
pub fn state<VALUE: Into<CentralState>>(&mut self, value: VALUE) -> &mut Self
State of the simulated central.
Sourcepub fn build(
&self,
) -> Result<SetSimulatedCentralState, SetSimulatedCentralStateBuilderError>
pub fn build( &self, ) -> Result<SetSimulatedCentralState, SetSimulatedCentralStateBuilderError>
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 moreAuto 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