pub struct CompactRecvr { /* private fields */ }Implementations§
Source§impl CompactRecvr
impl CompactRecvr
Sourcepub fn spawn<V: UniqueIdentifier, A: Into<String>>(
&self,
server_address: A,
) -> Result<Transceiver<V, Receiver>>
pub fn spawn<V: UniqueIdentifier, A: Into<String>>( &self, server_address: A, ) -> Result<Transceiver<V, Receiver>>
Spawn a new Transceiver receiver
clone the receiver endpoint that will
server_address to connect to
Trait Implementations§
Source§impl<U: UniqueIdentifier> From<&Transceiver<U, Receiver>> for CompactRecvr
impl<U: UniqueIdentifier> From<&Transceiver<U, Receiver>> for CompactRecvr
Source§fn from(value: &Transceiver<U, Receiver>) -> Self
fn from(value: &Transceiver<U, Receiver>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompactRecvr
impl !RefUnwindSafe for CompactRecvr
impl Send for CompactRecvr
impl Sync for CompactRecvr
impl Unpin for CompactRecvr
impl !UnwindSafe for CompactRecvr
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