pub enum Event<'g, 'a> {
Cli(CliEvent<'g, 'a>),
Serv(ServEvent<'g, 'a>),
Progressed,
None,
}Variants§
Cli(CliEvent<'g, 'a>)
Serv(ServEvent<'g, 'a>)
Progressed
Connection state has progressed
Should poll Runner::progress() again
None
No event
No progress, may idle waiting for external events.
Trait Implementations§
Auto Trait Implementations§
impl<'g, 'a> Freeze for Event<'g, 'a>
impl<'g, 'a> RefUnwindSafe for Event<'g, 'a>
impl<'g, 'a> Send for Event<'g, 'a>
impl<'g, 'a> Sync for Event<'g, 'a>
impl<'g, 'a> Unpin for Event<'g, 'a>
impl<'g, 'a> !UnwindSafe for Event<'g, 'a>
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