pub enum DurableEnvironmentScope {
Connection {
connection_id: String,
},
Session {
session_id: String,
},
Run {
session_id: String,
run_id: String,
},
}Expand description
Product-neutral attachment scope.
Variants§
Connection
Scope follows one transport-owned connection and is never transferable.
Session
Scope follows one durable session.
Run
Scope follows one durable run.
Implementations§
Source§impl DurableEnvironmentScope
impl DurableEnvironmentScope
Sourcepub fn validate(&self) -> SessionStoreResult<()>
pub fn validate(&self) -> SessionStoreResult<()>
Trait Implementations§
Source§impl Clone for DurableEnvironmentScope
impl Clone for DurableEnvironmentScope
Source§fn clone(&self) -> DurableEnvironmentScope
fn clone(&self) -> DurableEnvironmentScope
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 DurableEnvironmentScope
impl Debug for DurableEnvironmentScope
Source§impl<'de> Deserialize<'de> for DurableEnvironmentScope
impl<'de> Deserialize<'de> for DurableEnvironmentScope
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 DurableEnvironmentScope
Source§impl PartialEq for DurableEnvironmentScope
impl PartialEq for DurableEnvironmentScope
Source§impl Serialize for DurableEnvironmentScope
impl Serialize for DurableEnvironmentScope
impl StructuralPartialEq for DurableEnvironmentScope
Auto Trait Implementations§
impl Freeze for DurableEnvironmentScope
impl RefUnwindSafe for DurableEnvironmentScope
impl Send for DurableEnvironmentScope
impl Sync for DurableEnvironmentScope
impl Unpin for DurableEnvironmentScope
impl UnsafeUnpin for DurableEnvironmentScope
impl UnwindSafe for DurableEnvironmentScope
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