Struct oasis_core_runtime::enclave_rpc::dispatcher::Method
source · pub struct Method { /* private fields */ }
Expand description
RPC method dispatcher implementation.
Implementations§
source§impl Method
impl Method
sourcepub fn new<Rq, Rsp, Handler>(method: MethodDescriptor, handler: Handler) -> Selfwhere
Rq: Decode + 'static,
Rsp: Encode + 'static,
Handler: MethodHandler<Rq, Rsp> + Send + Sync + 'static,
pub fn new<Rq, Rsp, Handler>(method: MethodDescriptor, handler: Handler) -> Selfwhere
Rq: Decode + 'static,
Rsp: Encode + 'static,
Handler: MethodHandler<Rq, Rsp> + Send + Sync + 'static,
Create a new enclave method descriptor.
Auto Trait Implementations§
impl !RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl !UnwindSafe for Method
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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