#[non_exhaustive]pub enum SessionOpening {
Start(Box<SessionStartResult>),
Resume(Box<SessionResumeResult>),
}Expand description
The server’s result that opened a session, as typed by this SDK.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Start(Box<SessionStartResult>)
The session/start result.
Resume(Box<SessionResumeResult>)
The session/resume result: the history it served and the turn the
host still runs, if any.
Trait Implementations§
Source§impl Clone for SessionOpening
impl Clone for SessionOpening
Source§impl Debug for SessionOpening
impl Debug for SessionOpening
Source§impl PartialEq for SessionOpening
impl PartialEq for SessionOpening
impl StructuralPartialEq for SessionOpening
Auto Trait Implementations§
impl Forget for SessionOpening
impl Freeze for SessionOpening
impl Move for SessionOpening
impl RefUnwindSafe for SessionOpening
impl Send for SessionOpening
impl Sync for SessionOpening
impl Unpin for SessionOpening
impl UnsafeUnpin for SessionOpening
impl UnwindSafe for SessionOpening
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