pub struct OwnedTopicSocketHdl<'a, T, R, M>where
T: Topic,
T::Message: Serialize + Clone + DeserializeOwned + 'static,
R: ScopedRawMutex + 'static,
M: InterfaceManager + 'static,{ /* private fields */ }Implementations§
Source§impl<T, R, M> OwnedTopicSocketHdl<'_, T, R, M>where
T: Topic,
T::Message: Serialize + Clone + DeserializeOwned + 'static,
R: ScopedRawMutex + 'static,
M: InterfaceManager + 'static,
impl<T, R, M> OwnedTopicSocketHdl<'_, T, R, M>where
T: Topic,
T::Message: Serialize + Clone + DeserializeOwned + 'static,
R: ScopedRawMutex + 'static,
M: InterfaceManager + 'static,
pub async fn recv(&mut self) -> OwnedMessage<T::Message>
Auto Trait Implementations§
impl<'a, T, R, M> Freeze for OwnedTopicSocketHdl<'a, T, R, M>
impl<'a, T, R, M> !RefUnwindSafe for OwnedTopicSocketHdl<'a, T, R, M>
impl<'a, T, R, M> Send for OwnedTopicSocketHdl<'a, T, R, M>
impl<'a, T, R, M> Sync for OwnedTopicSocketHdl<'a, T, R, M>
impl<'a, T, R, M> Unpin for OwnedTopicSocketHdl<'a, T, R, M>
impl<'a, T, R, M> !UnwindSafe for OwnedTopicSocketHdl<'a, T, R, M>
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