pub struct Topology { /* private fields */ }Implementations§
Source§impl Topology
impl Topology
pub fn empty() -> Self
Sourcepub fn add_dedicated_rt<F: Fn(&ActorMeta) -> bool + Send + Sync + 'static>(
&self,
filter: F,
handle: Handle,
)
Available on crate feature unstable only.
pub fn add_dedicated_rt<F: Fn(&ActorMeta) -> bool + Send + Sync + 'static>( &self, filter: F, handle: Handle, )
unstable only.§Availability
This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
pub fn stuck_detector(&self) -> StuckDetector
Available on crate feature
unstable-stuck-detection only.pub fn local(&self, name: impl Into<String>) -> Local<'_>
pub fn remote(&self, _name: impl Into<String>) -> Remote<'_>
pub fn actor_groups(&self) -> impl Iterator<Item = ActorGroup> + '_
pub fn connections(&self) -> impl Iterator<Item = Connection> + '_
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Topology
impl !RefUnwindSafe for Topology
impl Send for Topology
impl Sync for Topology
impl Unpin for Topology
impl !UnwindSafe for Topology
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