pub struct PoolCore<I: ID + Serialize + DeserializeOwned> { /* private fields */ }Implementations§
source§impl<I: ID + Serialize + DeserializeOwned> PoolCore<I>
impl<I: ID + Serialize + DeserializeOwned> PoolCore<I>
pub fn new<H: Handshake<I>, F: StreamFactory<I>, A: AccessControl<I>>( local_id: I, stream_factory: F, access_control: A, driver: &Driver, config: Config ) -> Self
pub async fn new_remote(&self, remote_id: I) -> Option<Box<dyn Transport>>
pub async fn set_retry_delay( &self, remote_id: &I, delay: Box<dyn DelayGenerator> ) -> Result<(), PoolError>
Auto Trait Implementations§
impl<I> Freeze for PoolCore<I>
impl<I> !RefUnwindSafe for PoolCore<I>
impl<I> Send for PoolCore<I>
impl<I> Sync for PoolCore<I>
impl<I> Unpin for PoolCore<I>
impl<I> !UnwindSafe for PoolCore<I>
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