pub struct ClusterService { /* private fields */ }Implementations§
Source§impl ClusterService
impl ClusterService
pub fn new( provider: impl ClusterProvider, tcp_network_service: TcpNetworkService, ct: CancellationToken, ) -> Self
pub async fn run(self) -> Result<(), Error>
pub fn spawn(self)
Auto Trait Implementations§
impl !RefUnwindSafe for ClusterService
impl !Sync for ClusterService
impl !UnwindSafe for ClusterService
impl Freeze for ClusterService
impl Send for ClusterService
impl Unpin for ClusterService
impl UnsafeUnpin for ClusterService
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