Struct cyfs_bdt::utils::stream_pool::StreamPool
source · pub struct StreamPool(_);Implementations§
source§impl StreamPool
impl StreamPool
pub fn new(stack: Stack, port: u16, config: StreamPoolConfig) -> BuckyResult<Self>
pub async fn connect(&self, remote: &DeviceId) -> BuckyResult<PooledStream>
pub fn incoming(&self) -> PooledStreamIncoming
pub fn port(&self) -> u16
pub fn config(&self) -> &StreamPoolConfig
Trait Implementations§
source§impl Clone for StreamPool
impl Clone for StreamPool
source§fn clone(&self) -> StreamPool
fn clone(&self) -> StreamPool
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 more