pub enum SessionsOpenAttachKind {
Attach,
}Expand description
Attach to an already-active in-process session by ID. Unlike resume, this does NOT re-load from disk; the session must already be loaded by an earlier create/resume call. Returns status: 'not_found' when no active session matches the id. Useful for in-process consumers that need a fresh API handle to a session opened elsewhere (e.g., a peer foreground-session switch).
Variants§
Attach
Trait Implementations§
Source§impl Clone for SessionsOpenAttachKind
impl Clone for SessionsOpenAttachKind
Source§fn clone(&self) -> SessionsOpenAttachKind
fn clone(&self) -> SessionsOpenAttachKind
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 SessionsOpenAttachKind
impl Debug for SessionsOpenAttachKind
Source§impl Default for SessionsOpenAttachKind
impl Default for SessionsOpenAttachKind
Source§fn default() -> SessionsOpenAttachKind
fn default() -> SessionsOpenAttachKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionsOpenAttachKind
impl<'de> Deserialize<'de> for SessionsOpenAttachKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionsOpenAttachKind
Source§impl PartialEq for SessionsOpenAttachKind
impl PartialEq for SessionsOpenAttachKind
Source§fn eq(&self, other: &SessionsOpenAttachKind) -> bool
fn eq(&self, other: &SessionsOpenAttachKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionsOpenAttachKind
impl Serialize for SessionsOpenAttachKind
impl StructuralPartialEq for SessionsOpenAttachKind
Auto Trait Implementations§
impl Freeze for SessionsOpenAttachKind
impl RefUnwindSafe for SessionsOpenAttachKind
impl Send for SessionsOpenAttachKind
impl Sync for SessionsOpenAttachKind
impl Unpin for SessionsOpenAttachKind
impl UnsafeUnpin for SessionsOpenAttachKind
impl UnwindSafe for SessionsOpenAttachKind
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