pub struct HarnessGraph { /* private fields */ }Expand description
Admitted harness graph: stock coding actor or a composed tree.
Implementations§
Source§impl HarnessGraph
impl HarnessGraph
pub fn from_actor(actor: Actor<CodingServices, HarnessView>) -> Self
pub fn coding(config: HarnessConfig) -> Self
Sourcepub fn from_spec<F>(spec: MetaHarnessSpec, make_scheduler: F) -> Self
pub fn from_spec<F>(spec: MetaHarnessSpec, make_scheduler: F) -> Self
Compose from a declarative spec. make_scheduler is called once per
Infer part (stock recipes include Infer exactly once).
pub fn actor(&self) -> &Actor<CodingServices, HarnessView>
pub fn into_actor(self) -> Actor<CodingServices, HarnessView>
Auto Trait Implementations§
impl !RefUnwindSafe for HarnessGraph
impl !UnwindSafe for HarnessGraph
impl Freeze for HarnessGraph
impl Send for HarnessGraph
impl Sync for HarnessGraph
impl Unpin for HarnessGraph
impl UnsafeUnpin for HarnessGraph
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