Struct jsonrpc_pubsub::typed::Sink [−][src]
Subscriber sink.
Implementations
impl<T: Serialize, E: Serialize> Sink<T, E>
[src][−]
pub fn notify(&self, val: Result<T, E>) -> SinkResult
[src][−]
Sends a notification to the subscriber.
Trait Implementations
impl<T: Clone, E: Clone> Clone for Sink<T, E>
[src][+]
impl<T: Debug, E: Debug> Debug for Sink<T, E>
[src][+]
impl<T: Serialize, E: Serialize> Sink for Sink<T, E>
[src][+]
Auto Trait Implementations
impl<T, E = Error> !RefUnwindSafe for Sink<T, E>
impl<T, E> Send for Sink<T, E> where
E: Send,
T: Send,
E: Send,
T: Send,
impl<T, E> Sync for Sink<T, E> where
E: Sync,
T: Sync,
E: Sync,
T: Sync,
impl<T, E> Unpin for Sink<T, E> where
E: Unpin,
T: Unpin,
E: Unpin,
T: Unpin,
impl<T, E = Error> !UnwindSafe for Sink<T, E>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,