pub struct SessionHandle {
pub id: String,
pub name: String,
pub model_json: String,
pub seed: Option<u64>,
pub machine_tx: Sender<Command>,
pub broadcast_tx: Sender<Value>,
pub control: Arc<ExecutionControl>,
}Fields§
§id: String§name: String§model_json: String§seed: Option<u64>§machine_tx: Sender<Command>§broadcast_tx: Sender<Value>§control: Arc<ExecutionControl>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionHandle
impl RefUnwindSafe for SessionHandle
impl Send for SessionHandle
impl Sync for SessionHandle
impl Unpin for SessionHandle
impl UnsafeUnpin for SessionHandle
impl UnwindSafe for SessionHandle
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