pub struct UpdateStream { /* private fields */ }Implementations§
Source§impl UpdateStream
impl UpdateStream
pub async fn next(&mut self) -> Result<Update, InvocationError>
pub async fn next_raw( &mut self, ) -> Result<(Update, State, Arc<PeerMap>), InvocationError>
Sourcepub fn sync_update_state(&self)
pub fn sync_update_state(&self)
Synchronize the updates state to the session.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpdateStream
impl !RefUnwindSafe for UpdateStream
impl Send for UpdateStream
impl Sync for UpdateStream
impl Unpin for UpdateStream
impl !UnwindSafe for UpdateStream
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