pub struct AIOBrokerFeaturesBuilder { /* private fields */ }
Expand description
Builder for AIOBrokerFeatures
.
Implementations§
Source§impl AIOBrokerFeaturesBuilder
impl AIOBrokerFeaturesBuilder
Sourcepub fn persistence(&mut self, value: bool) -> &mut Self
pub fn persistence(&mut self, value: bool) -> &mut Self
Indicates if the Session should use AIO persistence
Sourcepub fn build(&self) -> Result<AIOBrokerFeatures, AIOBrokerFeaturesBuilderError>
pub fn build(&self) -> Result<AIOBrokerFeatures, AIOBrokerFeaturesBuilderError>
Trait Implementations§
Source§impl Clone for AIOBrokerFeaturesBuilder
impl Clone for AIOBrokerFeaturesBuilder
Source§fn clone(&self) -> AIOBrokerFeaturesBuilder
fn clone(&self) -> AIOBrokerFeaturesBuilder
Returns a copy 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 AIOBrokerFeaturesBuilder
impl RefUnwindSafe for AIOBrokerFeaturesBuilder
impl Send for AIOBrokerFeaturesBuilder
impl Sync for AIOBrokerFeaturesBuilder
impl Unpin for AIOBrokerFeaturesBuilder
impl UnwindSafe for AIOBrokerFeaturesBuilder
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