pub struct Session {
pub id: u64,
pub negotiated_codec: Symbol,
pub isolation: IsolationPolicy,
pub closed: bool,
}Expand description
State of a single server connection session.
Fields§
§id: u64Session id, unique within the owning runtime.
negotiated_codec: SymbolCodec negotiated for this session’s frames.
isolation: IsolationPolicyIsolation policy applied to evaluation in this session.
closed: boolWhether the session has been closed.
Trait Implementations§
impl Eq for Session
impl StructuralPartialEq for Session
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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