pub trait WrpcViewExt: WrpcView {
Show 13 methods
// Provided methods
fn push_invocation(
&mut self,
invocation: impl Future<Output = Result<(<Self::Invoke as Invoke>::Outgoing, <Self::Invoke as Invoke>::Incoming)>> + Send + 'static,
) -> Result<Resource<Invocation>> { ... }
fn get_invocation_result(
&mut self,
invocation: &Resource<Invocation>,
) -> Result<Option<&Box<Result<(<Self::Invoke as Invoke>::Outgoing, <Self::Invoke as Invoke>::Incoming)>>>> { ... }
fn delete_invocation(
&mut self,
invocation: Resource<Invocation>,
) -> Result<impl Future<Output = Result<(<Self::Invoke as Invoke>::Outgoing, <Self::Invoke as Invoke>::Incoming)>>> { ... }
fn push_outgoing_channel(
&mut self,
outgoing: <Self::Invoke as Invoke>::Outgoing,
) -> Result<Resource<OutgoingChannel>> { ... }
fn delete_outgoing_channel(
&mut self,
outgoing: Resource<OutgoingChannel>,
) -> Result<<Self::Invoke as Invoke>::Outgoing> { ... }
fn push_incoming_channel(
&mut self,
incoming: <Self::Invoke as Invoke>::Incoming,
) -> Result<Resource<IncomingChannel>> { ... }
fn delete_incoming_channel(
&mut self,
incoming: Resource<IncomingChannel>,
) -> Result<<Self::Invoke as Invoke>::Incoming> { ... }
fn push_error(&mut self, error: Error) -> Result<Resource<Error>> { ... }
fn get_error(&mut self, error: &Resource<Error>) -> Result<&Error> { ... }
fn get_error_mut(&mut self, error: &Resource<Error>) -> Result<&mut Error> { ... }
fn delete_error(&mut self, error: Resource<Error>) -> Result<Error> { ... }
fn push_context(
&mut self,
cx: <Self::Invoke as Invoke>::Context,
) -> Result<Resource<Context>>
where <Self::Invoke as Invoke>::Context: 'static { ... }
fn delete_context(
&mut self,
cx: Resource<Context>,
) -> Result<<Self::Invoke as Invoke>::Context>
where <Self::Invoke as Invoke>::Context: 'static { ... }
}
Provided Methods§
fn push_invocation( &mut self, invocation: impl Future<Output = Result<(<Self::Invoke as Invoke>::Outgoing, <Self::Invoke as Invoke>::Incoming)>> + Send + 'static, ) -> Result<Resource<Invocation>>
fn get_invocation_result( &mut self, invocation: &Resource<Invocation>, ) -> Result<Option<&Box<Result<(<Self::Invoke as Invoke>::Outgoing, <Self::Invoke as Invoke>::Incoming)>>>>
fn delete_invocation( &mut self, invocation: Resource<Invocation>, ) -> Result<impl Future<Output = Result<(<Self::Invoke as Invoke>::Outgoing, <Self::Invoke as Invoke>::Incoming)>>>
fn push_outgoing_channel( &mut self, outgoing: <Self::Invoke as Invoke>::Outgoing, ) -> Result<Resource<OutgoingChannel>>
fn delete_outgoing_channel( &mut self, outgoing: Resource<OutgoingChannel>, ) -> Result<<Self::Invoke as Invoke>::Outgoing>
fn push_incoming_channel( &mut self, incoming: <Self::Invoke as Invoke>::Incoming, ) -> Result<Resource<IncomingChannel>>
fn delete_incoming_channel( &mut self, incoming: Resource<IncomingChannel>, ) -> Result<<Self::Invoke as Invoke>::Incoming>
fn push_error(&mut self, error: Error) -> Result<Resource<Error>>
fn get_error(&mut self, error: &Resource<Error>) -> Result<&Error>
fn get_error_mut(&mut self, error: &Resource<Error>) -> Result<&mut Error>
fn delete_error(&mut self, error: Resource<Error>) -> Result<Error>
fn push_context( &mut self, cx: <Self::Invoke as Invoke>::Context, ) -> Result<Resource<Context>>
fn delete_context( &mut self, cx: Resource<Context>, ) -> Result<<Self::Invoke as Invoke>::Context>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.