pub struct BridgeConnection { /* private fields */ }Implementations§
Source§impl BridgeConnection
impl BridgeConnection
pub async fn send(&mut self, msg: BridgeMessage) -> AppResult<()>
pub async fn recv(&mut self) -> Option<BridgeMessage>
Auto Trait Implementations§
impl !Freeze for BridgeConnection
impl RefUnwindSafe for BridgeConnection
impl Send for BridgeConnection
impl Sync for BridgeConnection
impl Unpin for BridgeConnection
impl UnsafeUnpin for BridgeConnection
impl UnwindSafe for BridgeConnection
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