pub trait Session: Service {
// Required methods
fn submit_runnable(&mut self, runnable: RunnableHolder) -> Result<()>;
fn build_session(&mut self) -> Result<()>;
// Provided method
fn submit<D, S>(&mut self, s: S, try_into_dag: D) -> Result<()>
where D: Into<DAG>,
S: TryInto<ScheduleExpr>,
BronzeError: From<S::Error> { ... }
}Required Methods§
fn submit_runnable(&mut self, runnable: RunnableHolder) -> Result<()>
fn build_session(&mut self) -> Result<()>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.