pub struct BalterRuntime { /* private fields */ }Expand description
Default Balter distributed runtime. (requires rt feature)
Creates a background API server to handle HTTP requests (for kicking off scenarios) as well as a background task for handling the gossip protocol.
§Example
ⓘ
use balter::prelude::*;
#[tokio::main]
async fn main() {
BalterRuntime::new()
.with_args()
.run()
.await;
}Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BalterRuntime
impl RefUnwindSafe for BalterRuntime
impl Send for BalterRuntime
impl Sync for BalterRuntime
impl Unpin for BalterRuntime
impl UnwindSafe for BalterRuntime
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