pub struct RelayConnection { /* private fields */ }Implementations§
Source§impl RelayConnection
impl RelayConnection
pub async fn new( relay: Arc<Relay>, nonce: String, cm: Arc<ConnectionManager>, ) -> Result<Self, AgentError>
pub async fn publisher(&self) -> SocketPublisher
pub async fn subscriber(&self) -> SocketSubscriber
Auto Trait Implementations§
impl Freeze for RelayConnection
impl !RefUnwindSafe for RelayConnection
impl Send for RelayConnection
impl Sync for RelayConnection
impl Unpin for RelayConnection
impl !UnwindSafe for RelayConnection
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