pub enum InputKind {
Event(Event),
Cancel,
}Expand description
What an input asks the session to do.
Variants§
Event(Event)
Process an external event.
Cancel
Cancel the session (the parent’s or host’s cancel request).
Trait Implementations§
impl StructuralPartialEq for InputKind
Auto Trait Implementations§
impl Forget for InputKind
impl Freeze for InputKind
impl Move for InputKind
impl RefUnwindSafe for InputKind
impl Send for InputKind
impl Sync for InputKind
impl Unpin for InputKind
impl UnsafeUnpin for InputKind
impl UnwindSafe for InputKind
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