pub enum News {
Pushed(Vec<PushedRoomEvent>),
Idle,
}Expand description
What crate::Backend::wait_for_news saw.
Variants§
Pushed(Vec<PushedRoomEvent>)
The server pushed room events for this session (metadata only; sync fetches the content).
Idle
The wait ended without news (timeout, or the server has no push channel: poll with sync).
Trait Implementations§
impl Eq for News
impl StructuralPartialEq for News
Auto Trait Implementations§
impl Freeze for News
impl RefUnwindSafe for News
impl Send for News
impl Sync for News
impl Unpin for News
impl UnsafeUnpin for News
impl UnwindSafe for News
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