pub struct RequestInterface<Req, Resp> {
pub request: InterfaceEvent<Request<Req>>,
pub response: InterfaceEvent<Response<Resp>>,
}
Fields§
§request: InterfaceEvent<Request<Req>>
§response: InterfaceEvent<Response<Resp>>
Trait Implementations§
Source§impl<Req, Resp> InterfaceSchema for RequestInterface<Req, Resp>
impl<Req, Resp> InterfaceSchema for RequestInterface<Req, Resp>
fn new(ib: &mut InterfaceBuilder) -> Self
Auto Trait Implementations§
impl<Req, Resp> Freeze for RequestInterface<Req, Resp>
impl<Req, Resp> RefUnwindSafe for RequestInterface<Req, Resp>where
Req: RefUnwindSafe,
Resp: RefUnwindSafe,
impl<Req, Resp> Send for RequestInterface<Req, Resp>
impl<Req, Resp> Sync for RequestInterface<Req, Resp>
impl<Req, Resp> Unpin for RequestInterface<Req, Resp>
impl<Req, Resp> UnwindSafe for RequestInterface<Req, Resp>where
Req: UnwindSafe,
Resp: UnwindSafe,
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