pub struct TarpcOverMessagesServer {
handle: JoinHandle<Result<()>>,
rpc_spawn: JoinHandle<Result<()>>,
}Fields§
§handle: JoinHandle<Result<()>>§rpc_spawn: JoinHandle<Result<()>>Implementations§
Source§impl TarpcOverMessagesServer
impl TarpcOverMessagesServer
pub fn new<S, Req, Resp>( request_listener: S, _signing_key: SigningKey, _messages_service: MessagesService, service_maker: fn(UnboundedChannel<ClientMessage<Req>, Response<Resp>>) -> JoinHandle<Result<()>>, ) -> Self
Sourcepub fn is_running(&self) -> bool
pub fn is_running(&self) -> bool
Check if the bridge is still running
pub fn abort(&self)
Auto Trait Implementations§
impl Freeze for TarpcOverMessagesServer
impl RefUnwindSafe for TarpcOverMessagesServer
impl Send for TarpcOverMessagesServer
impl Sync for TarpcOverMessagesServer
impl Unpin for TarpcOverMessagesServer
impl UnwindSafe for TarpcOverMessagesServer
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