pub struct ParserSessionOpen { /* private fields */ }Expand description
Bounded supervisor opening that a worker reads only after containment.
This frame carries process-session freshness but deliberately contains no grammar identity, repository path, or source bytes. A Linux worker installs its own boundary before reading this frame; Windows may deliver it only after launcher admission and resume.
Implementations§
Source§impl ParserSessionOpen
impl ParserSessionOpen
Sourcepub const fn new(session: ParserSessionIdentity) -> Self
pub const fn new(session: ParserSessionIdentity) -> Self
Construct the current protocol’s session opening.
Sourcepub const fn session(&self) -> &ParserSessionIdentity
pub const fn session(&self) -> &ParserSessionIdentity
Borrow the supervised process-session identity.
Trait Implementations§
Source§impl Clone for ParserSessionOpen
impl Clone for ParserSessionOpen
Source§fn clone(&self) -> ParserSessionOpen
fn clone(&self) -> ParserSessionOpen
Returns a duplicate of the value. Read more
1.0.0 · 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 ParserSessionOpen
impl Debug for ParserSessionOpen
Source§impl<'de> Deserialize<'de> for ParserSessionOpen
impl<'de> Deserialize<'de> for ParserSessionOpen
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
Source§impl PartialEq for ParserSessionOpen
impl PartialEq for ParserSessionOpen
Source§impl Serialize for ParserSessionOpen
impl Serialize for ParserSessionOpen
impl Eq for ParserSessionOpen
impl StructuralPartialEq for ParserSessionOpen
Auto Trait Implementations§
impl Freeze for ParserSessionOpen
impl RefUnwindSafe for ParserSessionOpen
impl Send for ParserSessionOpen
impl Sync for ParserSessionOpen
impl Unpin for ParserSessionOpen
impl UnwindSafe for ParserSessionOpen
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.