pub struct Routes(/* private fields */);Expand description
The non-framework route identities owned by one component or topology.
Implementations§
Source§impl Routes
impl Routes
pub const EMPTY: Self
Sourcepub const fn singleton<T: App>() -> Self
pub const fn singleton<T: App>() -> Self
Builds the route set holding exactly one application identity.
Sourcepub const fn singleton_id(id: Id) -> Self
pub const fn singleton_id(id: Id) -> Self
Builds a route set from a value-level ID for generated aggregates.
pub const fn has_route(self, route: Route) -> bool
Trait Implementations§
impl Copy for Routes
impl Eq for Routes
impl StructuralPartialEq for Routes
Auto Trait Implementations§
impl Freeze for Routes
impl RefUnwindSafe for Routes
impl Send for Routes
impl Sync for Routes
impl Unpin for Routes
impl UnsafeUnpin for Routes
impl UnwindSafe for Routes
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