#[non_exhaustive]pub enum SessionRebuildCause {
CudaContextPoisoned,
RemoteAuthFailure,
RemoteConfigChange,
Manual,
}Expand description
Why a session rebuild was requested. Drives the runtime-specific rebuild behaviour described in §3.4.
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.
Trait Implementations§
Source§impl Clone for SessionRebuildCause
impl Clone for SessionRebuildCause
Source§fn clone(&self) -> SessionRebuildCause
fn clone(&self) -> SessionRebuildCause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionRebuildCause
impl Debug for SessionRebuildCause
Source§impl PartialEq for SessionRebuildCause
impl PartialEq for SessionRebuildCause
Source§fn eq(&self, other: &SessionRebuildCause) -> bool
fn eq(&self, other: &SessionRebuildCause) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SessionRebuildCause
impl Eq for SessionRebuildCause
impl StructuralPartialEq for SessionRebuildCause
Auto Trait Implementations§
impl Freeze for SessionRebuildCause
impl RefUnwindSafe for SessionRebuildCause
impl Send for SessionRebuildCause
impl Sync for SessionRebuildCause
impl Unpin for SessionRebuildCause
impl UnsafeUnpin for SessionRebuildCause
impl UnwindSafe for SessionRebuildCause
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