pub struct FederCore { /* private fields */ }Expand description
Portable core state and decision logic.
Implementations§
Source§impl FederCore
impl FederCore
pub fn new(config: FederConfig) -> Self
pub fn state(&self) -> &FederState
Sourcepub fn handle(&mut self, input: Input) -> HandleResult
pub fn handle(&mut self, input: Input) -> HandleResult
Handle one core input and return runtime actions to perform later.
This method intentionally performs no I/O. Returned actions describe work for a runtime or test harness to perform later.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FederCore
impl RefUnwindSafe for FederCore
impl Send for FederCore
impl Sync for FederCore
impl Unpin for FederCore
impl UnsafeUnpin for FederCore
impl UnwindSafe for FederCore
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