[−][src]Struct fibers_rpc::client::CastClient
Client for notification RPC.
Methods
impl<'a, T> CastClient<'a, T> where
T: Cast,
[src]
T: Cast,
pub fn cast(
self,
server: SocketAddr,
notification: T::Notification
) -> Result<()>
[src]
self,
server: SocketAddr,
notification: T::Notification
) -> Result<()>
Sends the notification message to the RPC server.
impl<'a, T: Cast> CastClient<'a, T>
[src]
pub fn options(&self) -> &Options
[src]
Returns a reference to the RPC options of this client.
pub fn options_mut(&mut self) -> &mut Options
[src]
Returns a mutable reference to the RPC options of this client.
pub fn encoder(&self) -> &T::Encoder
[src]
Returns a reference to the encoder of this client.
pub fn encoder_mut(&mut self) -> &mut T::Encoder
[src]
Returns a mutable reference to the encoder of this client.
Trait Implementations
Auto Trait Implementations
impl<'a, T> Send for CastClient<'a, T> where
<T as Cast>::Encoder: Send,
<T as Cast>::Encoder: Send,
impl<'a, T> Sync for CastClient<'a, T> where
<T as Cast>::Encoder: Sync,
<T as Cast>::Encoder: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,