pub struct SessionRestoreRejection {
pub error: SessionError,
pub checkpoint: SessionCheckpoint,
pub runner: Arc<TurnRunner>,
pub options: TurnRunOptions,
pub config: SessionConfig,
}Expand description
A rejected restore: the reason plus everything the caller handed in, returned untouched — the original checkpoint included. Nothing was registered; correcting the input and retrying costs nothing.
Fields§
§error: SessionErrorWhy the restore was rejected.
checkpoint: SessionCheckpointThe original checkpoint, exactly as received.
runner: Arc<TurnRunner>The assembled runner, returned by value.
options: TurnRunOptionsThe assembled run options, returned by value.
config: SessionConfigThe session configuration, returned by value.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SessionRestoreRejection
impl !UnwindSafe for SessionRestoreRejection
impl Freeze for SessionRestoreRejection
impl Send for SessionRestoreRejection
impl Sync for SessionRestoreRejection
impl Unpin for SessionRestoreRejection
impl UnsafeUnpin for SessionRestoreRejection
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