pub struct RoutePath(/* private fields */);Expand description
The dotted route a service reaches an activation at: "tickets",
"tickets.inputs", "tickets.acme" (a dynamic instance).
RETURNS-46: a path built at run time — a child’s, a dynamic instance’s —
is the client’s own, shared by Arc and freed with the last client that
holds it: no process-wide set, nothing leaked, no lock. A path known when
the program is written (a namespace, a MethodRef constant) is a
&'static str and costs nothing; "" means “the namespace”. So it is
Cow<'static, str> with an Arc arm: a constant stays const, and a
clone of a run-time path is a reference count, not a copy.
Implementations§
Trait Implementations§
impl Eq for RoutePath
Auto Trait Implementations§
impl Forget for RoutePath
impl Freeze for RoutePath
impl RefUnwindSafe for RoutePath
impl Send for RoutePath
impl Sync for RoutePath
impl Unpin for RoutePath
impl UnsafeUnpin for RoutePath
impl UnwindSafe for RoutePath
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