pub struct InterpreterLiveSession { /* private fields */ }Implementations§
Source§impl InterpreterLiveSession
impl InterpreterLiveSession
pub fn start( session_id: impl Into<String>, source: LiveSource, ) -> Result<Self, LiveSessionError>
pub fn pending_revision(&self) -> Option<&str>
Trait Implementations§
Source§impl Drop for InterpreterLiveSession
impl Drop for InterpreterLiveSession
Source§impl LiveSession for InterpreterLiveSession
impl LiveSession for InterpreterLiveSession
fn state(&self) -> LiveSessionState
fn capabilities(&self) -> LiveSessionCapabilities
fn dispatch_command( &mut self, command: LiveSessionCommand, ) -> Result<JsonValue, LiveSessionError>
fn dispatch( &mut self, request: LiveSessionRequest, ) -> Result<LiveSessionReply, LiveSessionError>
Auto Trait Implementations§
impl Freeze for InterpreterLiveSession
impl RefUnwindSafe for InterpreterLiveSession
impl Send for InterpreterLiveSession
impl Sync for InterpreterLiveSession
impl Unpin for InterpreterLiveSession
impl UnsafeUnpin for InterpreterLiveSession
impl UnwindSafe for InterpreterLiveSession
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more