pub struct RouteValidatorProxy { /* private fields */ }Implementations§
Source§impl RouteValidatorProxy
 
impl RouteValidatorProxy
Sourcepub fn take_event_stream(&self) -> RouteValidatorEventStream
 
pub fn take_event_stream(&self) -> RouteValidatorEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
Sourcepub fn validate(
    &self,
    moniker: &str,
) -> QueryResponseFut<RouteValidatorValidateResult, FDomainResourceDialect>
 
pub fn validate( &self, moniker: &str, ) -> QueryResponseFut<RouteValidatorValidateResult, FDomainResourceDialect>
Routes all incoming and exposed capabilities of a component identified by the given moniker. If the routing failed, an error is returned in the response. This function may cause components to be resolved.
Errors:
- INVALID_ARGUMENTS: The given moniker is not valid.
- INSTANCE_NOT_FOUND: No instance was found matching the given moniker.
Sourcepub fn route(
    &self,
    moniker: &str,
    targets: &[RouteTarget],
) -> QueryResponseFut<RouteValidatorRouteResult, FDomainResourceDialect>
 
pub fn route( &self, moniker: &str, targets: &[RouteTarget], ) -> QueryResponseFut<RouteValidatorRouteResult, FDomainResourceDialect>
Routes a component’s used or exposed capabilities, and returns information about them.
If targets is empty, returns results for all the component’s used and
exposed capabilities. Otherwise, returns only results for capabilities
specified in targets.
This method only supports routing namespace capabilities (protocols, directories, services, and storage).
Errors:
- INVALID_ARGUMENTS: The given moniker or name is not valid, or nameis not a namespace capability.
- INSTANCE_NOT_FOUND: No instance was found matching the given moniker.
- RESOURCE_NOT_FOUND: No capability was found matching one of the given names.
Trait Implementations§
Source§impl Clone for RouteValidatorProxy
 
impl Clone for RouteValidatorProxy
Source§fn clone(&self) -> RouteValidatorProxy
 
fn clone(&self) -> RouteValidatorProxy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for RouteValidatorProxy
 
impl Debug for RouteValidatorProxy
Source§impl Proxy for RouteValidatorProxy
 
impl Proxy for RouteValidatorProxy
Source§type Protocol = RouteValidatorMarker
 
type Protocol = RouteValidatorMarker
The protocol which this 
Proxy controls.Source§fn from_channel(inner: Channel) -> Self
 
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Result<Channel, Self>
 
fn into_channel(self) -> Result<Channel, Self>
Attempt to convert the proxy back into a channel. Read more
Source§fn as_channel(&self) -> &Channel
 
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Source§impl RouteValidatorProxyInterface for RouteValidatorProxy
 
impl RouteValidatorProxyInterface for RouteValidatorProxy
type ValidateResponseFut = QueryResponseFut<Result<Vec<RouteReport>, Error>, FDomainResourceDialect>
type RouteResponseFut = QueryResponseFut<Result<Vec<RouteReport>, RouteValidatorError>, FDomainResourceDialect>
fn validate(&self, moniker: &str) -> Self::ValidateResponseFut
fn route( &self, moniker: &str, targets: &[RouteTarget], ) -> Self::RouteResponseFut
Auto Trait Implementations§
impl Freeze for RouteValidatorProxy
impl !RefUnwindSafe for RouteValidatorProxy
impl Send for RouteValidatorProxy
impl Sync for RouteValidatorProxy
impl Unpin for RouteValidatorProxy
impl !UnwindSafe for RouteValidatorProxy
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
 
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
 
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type 
T to [Self]