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