pub struct ShmClientStorageBuilder { /* private fields */ }Implementations§
Source§impl ShmClientStorageBuilder
impl ShmClientStorageBuilder
Sourcepub fn with_client(self, client: Arc<dyn ShmClient>) -> ZResult<Self>
pub fn with_client(self, client: Arc<dyn ShmClient>) -> ZResult<Self>
Add client to the storage
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>]) -> Self
pub fn with_clients(self, clients: &[Arc<dyn ShmClient>]) -> Self
Add list of clients to the storage
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Sourcepub fn build(self) -> ShmClientStorage
pub fn build(self) -> ShmClientStorage
Build the storage with parameters specified on previous step
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 ShmClientStorageBuilder
impl !RefUnwindSafe for ShmClientStorageBuilder
impl Send for ShmClientStorageBuilder
impl Sync for ShmClientStorageBuilder
impl Unpin for ShmClientStorageBuilder
impl !UnwindSafe for ShmClientStorageBuilder
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