pub struct NoopPlatformService { /* private fields */ }Expand description
No-op platform service.
Implementations§
Source§impl NoopPlatformService
impl NoopPlatformService
pub fn new(identity: PlatformIdentity) -> Self
Trait Implementations§
Source§impl Default for NoopPlatformService
impl Default for NoopPlatformService
Source§impl PlatformService for NoopPlatformService
impl PlatformService for NoopPlatformService
fn identity(&self) -> PlatformIdentity
fn readiness_gate(&self) -> Arc<dyn ReadinessGate> ⓘ
fn leadership(&self) -> Arc<dyn LeadershipService> ⓘ
Auto Trait Implementations§
impl Freeze for NoopPlatformService
impl !RefUnwindSafe for NoopPlatformService
impl Send for NoopPlatformService
impl Sync for NoopPlatformService
impl Unpin for NoopPlatformService
impl UnsafeUnpin for NoopPlatformService
impl !UnwindSafe for NoopPlatformService
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