Struct fuchsia_component_test::Route
source · pub struct Route { /* private fields */ }
Expand description
A route of one or more capabilities from one point in the realm to one or more targets.
Implementations§
source§impl Route
impl Route
pub fn new() -> Self
sourcepub fn capability(self, capability: impl Into<Capability>) -> Self
pub fn capability(self, capability: impl Into<Capability>) -> Self
Adds a capability to this route. Must be called at least once.
Trait Implementations§
source§impl PartialEq for Route
impl PartialEq for Route
impl StructuralPartialEq for Route
Auto Trait Implementations§
impl Freeze for Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnwindSafe for Route
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