remoc 0.18.3

🦑 Remote multiplexed objects, channels, observable collections and RPC making remote interactions seamless. Provides multiple remote channels and RPC over TCP, TLS or any other transport.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// This should fail.

#[remoc::rtc::remote]
pub trait MethodLifetime
{
    async fn hello<'a>(&self) -> Result<Cow<'a, String>, remoc::rtc::CallError>;
}

#[remoc::rtc::remote]
pub trait TraitLifetime<'a>
{
    async fn hello(&self) -> Result<Cow<'a, String>, remoc::rtc::CallError>;
}