pub struct AnyIpcProvider(/* private fields */);Expand description
A type-erased IpcProvider.
Implementations§
Source§impl AnyIpcProvider
impl AnyIpcProvider
Sourcepub fn new(provider: impl IpcProvider) -> Self
pub fn new(provider: impl IpcProvider) -> Self
Erases provider.
Sourcepub fn router(&self, launch: &LaunchInfo) -> Option<IpcRouter>
pub fn router(&self, launch: &LaunchInfo) -> Option<IpcRouter>
The commands a process launched as launch may call.
Trait Implementations§
Source§impl Clone for AnyIpcProvider
impl Clone for AnyIpcProvider
Auto Trait Implementations§
impl !RefUnwindSafe for AnyIpcProvider
impl !UnwindSafe for AnyIpcProvider
impl Forget for AnyIpcProvider
impl Freeze for AnyIpcProvider
impl Move for AnyIpcProvider
impl Send for AnyIpcProvider
impl Sync for AnyIpcProvider
impl Unpin for AnyIpcProvider
impl UnsafeUnpin for AnyIpcProvider
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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