pub struct ShmClientSetBuilder;Expand description
Builder to create new client storages
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Implementations§
Source§impl ShmClientSetBuilder
impl ShmClientSetBuilder
Sourcepub fn with_client(self, client: Arc<dyn ShmClient>) -> ShmClientStorageBuilder
pub fn with_client(self, client: Arc<dyn ShmClient>) -> ShmClientStorageBuilder
Add client to the storage (without including the default client set)
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Sourcepub fn with_clients(
self,
clients: &[Arc<dyn ShmClient>],
) -> ShmClientStorageBuilder
pub fn with_clients( self, clients: &[Arc<dyn ShmClient>], ) -> ShmClientStorageBuilder
Add list of clients to the storage (without including the default client set)
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Sourcepub fn with_default_client_set(self) -> ShmClientStorageBuilder
pub fn with_default_client_set(self) -> ShmClientStorageBuilder
Include default clients
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Auto Trait Implementations§
impl Freeze for ShmClientSetBuilder
impl RefUnwindSafe for ShmClientSetBuilder
impl Send for ShmClientSetBuilder
impl Sync for ShmClientSetBuilder
impl Unpin for ShmClientSetBuilder
impl UnwindSafe for ShmClientSetBuilder
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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