Struct network_clique::mock::MockDialer
source · pub struct MockDialer {
own_address: u32,
channel_connect: UnboundedSender<(u32, u32, Sender<UnreliableSplittable>)>,
}
Fields§
§own_address: u32
§channel_connect: UnboundedSender<(u32, u32, Sender<UnreliableSplittable>)>
Trait Implementations§
source§impl Clone for MockDialer
impl Clone for MockDialer
source§fn clone(&self) -> MockDialer
fn clone(&self) -> MockDialer
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 moresource§impl Dialer<u32> for MockDialer
impl Dialer<u32> for MockDialer
type Connection = UnreliableSplittable
type Error = Error
Auto Trait Implementations§
impl !RefUnwindSafe for MockDialer
impl Send for MockDialer
impl Sync for MockDialer
impl Unpin for MockDialer
impl !UnwindSafe for MockDialer
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