Struct bip_util::send::SplitSender
[−]
[src]
pub struct SplitSender<S> { /* fields omitted */ }
SplitSender allows dividing the capacity of a single channel into multiple channels.
Methods
impl<S> SplitSender<S>
[src]
fn new(send: S, capacity: usize) -> SplitSender<S>
Create a new SplitSender
.
fn sender_ack(&self) -> SplitSenderAck
Create a new SplitSenderAck that can be used to ack sent messages.
Trait Implementations
impl<S> Clone for SplitSender<S> where S: Clone
[src]
fn clone(&self) -> SplitSender<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more