pub struct PySession { /* private fields */ }Expand description
Represents a prepared execution context for a specific bundle.
Implementations§
Source§impl PySession
 
impl PySession
Sourcepub fn entrypoint(&self) -> &str
 
pub fn entrypoint(&self) -> &str
Returns the canonical entrypoint (module:function or script) to execute.
Sourcepub fn descriptor(&self) -> &InvocationDescriptor
 
pub fn descriptor(&self) -> &InvocationDescriptor
Returns the invocation descriptor driving this session.
Auto Trait Implementations§
impl !Freeze for PySession
impl RefUnwindSafe for PySession
impl Send for PySession
impl Sync for PySession
impl Unpin for PySession
impl UnwindSafe for PySession
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