pub struct DirConnectorRouter<'a> { /* private fields */ }Expand description
A reference to a DirConnectorRouter capability in the store.
Trait Implementations§
Source§impl<'a> CapabilityRef<'a> for DirConnectorRouter<'a>
impl<'a> CapabilityRef<'a> for DirConnectorRouter<'a>
Source§fn from_store(store: &'a CapabilityStore, id: CapabilityId) -> Self
fn from_store(store: &'a CapabilityStore, id: CapabilityId) -> Self
Create a
CapabilityRef referencing the given store and id. Read moreSource§fn store(&self) -> &'a CapabilityStore
fn store(&self) -> &'a CapabilityStore
Return a reference to the store containing this Capability.
Source§fn duplicate(&'a self) -> impl Future<Output = Result<Self, Error>>
fn duplicate(&'a self) -> impl Future<Output = Result<Self, Error>>
Duplicates the capability referenced by this ref, returning a new
ref to the duplicated capability.
Auto Trait Implementations§
impl<'a> Freeze for DirConnectorRouter<'a>
impl<'a> !RefUnwindSafe for DirConnectorRouter<'a>
impl<'a> Send for DirConnectorRouter<'a>
impl<'a> Sync for DirConnectorRouter<'a>
impl<'a> Unpin for DirConnectorRouter<'a>
impl<'a> UnsafeUnpin for DirConnectorRouter<'a>
impl<'a> !UnwindSafe for DirConnectorRouter<'a>
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, 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]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more