pub struct SmpCacheBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> SmpCacheBuilder<S>
impl<S: State> SmpCacheBuilder<S>
Sourcepub fn build(self) -> SmpCachewhere
S: IsComplete,
pub fn build(self) -> SmpCachewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn cache(self, value: String) -> SmpCacheBuilder<SetCache<S>>where
S::Cache: IsUnset,
pub fn cache(self, value: String) -> SmpCacheBuilder<SetCache<S>>where
S::Cache: IsUnset,
Required.
Sourcepub fn topology(self, value: String) -> SmpCacheBuilder<SetTopology<S>>where
S::Topology: IsUnset,
pub fn topology(self, value: String) -> SmpCacheBuilder<SetTopology<S>>where
S::Topology: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for SmpCacheBuilder<S>
impl<S> RefUnwindSafe for SmpCacheBuilder<S>
impl<S> Send for SmpCacheBuilder<S>
impl<S> Sync for SmpCacheBuilder<S>
impl<S> Unpin for SmpCacheBuilder<S>
impl<S> UnwindSafe for SmpCacheBuilder<S>
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