pub struct ContextLifecycleState {
pub entered: bool,
pub stream_queue_enabled: bool,
pub compact_depth: u32,
}Expand description
Context lifecycle fields for enter, exit, streaming, and compaction state.
Fields§
§entered: boolWhether the context has been entered.
stream_queue_enabled: boolWhether stream queue side-channel behavior is enabled.
compact_depth: u32Current compact recursion depth.
Implementations§
Source§impl ContextLifecycleState
impl ContextLifecycleState
Sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Return whether this state has default values.
Trait Implementations§
Source§impl Clone for ContextLifecycleState
impl Clone for ContextLifecycleState
Source§fn clone(&self) -> ContextLifecycleState
fn clone(&self) -> ContextLifecycleState
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 ContextLifecycleState
impl Debug for ContextLifecycleState
Source§impl Default for ContextLifecycleState
impl Default for ContextLifecycleState
Source§fn default() -> ContextLifecycleState
fn default() -> ContextLifecycleState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextLifecycleState
impl<'de> Deserialize<'de> for ContextLifecycleState
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 ContextLifecycleState
Source§impl PartialEq for ContextLifecycleState
impl PartialEq for ContextLifecycleState
Source§impl Serialize for ContextLifecycleState
impl Serialize for ContextLifecycleState
impl StructuralPartialEq for ContextLifecycleState
Auto Trait Implementations§
impl Freeze for ContextLifecycleState
impl RefUnwindSafe for ContextLifecycleState
impl Send for ContextLifecycleState
impl Sync for ContextLifecycleState
impl Unpin for ContextLifecycleState
impl UnsafeUnpin for ContextLifecycleState
impl UnwindSafe for ContextLifecycleState
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