Struct routing::RouteSource
source · pub struct RouteSource<C: ComponentInstanceInterface> {
pub source: CapabilitySource<C>,
pub relative_path: RelativePath,
}
Expand description
The data returned after successfully routing a capability to its source.
Fields§
§source: CapabilitySource<C>
§relative_path: RelativePath
Implementations§
source§impl<C: ComponentInstanceInterface> RouteSource<C>
impl<C: ComponentInstanceInterface> RouteSource<C>
pub fn new(source: CapabilitySource<C>) -> Self
pub fn new_with_relative_path( source: CapabilitySource<C>, relative_path: RelativePath ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for RouteSource<C>
impl<C> !RefUnwindSafe for RouteSource<C>
impl<C> Send for RouteSource<C>
impl<C> Sync for RouteSource<C>
impl<C> Unpin for RouteSource<C>
impl<C> !UnwindSafe for RouteSource<C>
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