pub struct ForthReply<B> { /* private fields */ }Expand description
A reply on an RpcCommBus.
Trait Implementations§
Source§impl<B: RpcCommBus> Bus for ForthReply<B>
impl<B: RpcCommBus> Bus for ForthReply<B>
Source§type Chan = RpcChannel
type Chan = RpcChannel
The Channel this bus is associated with.
Source§type PublishPayload = <B as RpcCommBus>::ForthPayload
type PublishPayload = <B as RpcCommBus>::ForthPayload
The type of payload of the messages that are published on or consumed from it.
Source§fn serialize_payload(payload: &Self::PublishPayload) -> Result<Vec<u8>>
fn serialize_payload(payload: &Self::PublishPayload) -> Result<Vec<u8>>
Serialize Bus::PublishPayload into a Vec
Source§fn deserialize_payload(bytes: &[u8]) -> Result<Self::PublishPayload>
fn deserialize_payload(bytes: &[u8]) -> Result<Self::PublishPayload>
Deserialize a byte slice into a Bus::PublishPayload
Source§impl<B: Debug> Debug for ForthReply<B>
impl<B: Debug> Debug for ForthReply<B>
Source§impl<B: RpcCommBus> DirectBus for ForthReply<B>
impl<B: RpcCommBus> DirectBus for ForthReply<B>
Auto Trait Implementations§
impl<B> Freeze for ForthReply<B>
impl<B> RefUnwindSafe for ForthReply<B>where
B: RefUnwindSafe,
impl<B> Send for ForthReply<B>where
B: Send,
impl<B> Sync for ForthReply<B>where
B: Sync,
impl<B> Unpin for ForthReply<B>where
B: Unpin,
impl<B> UnwindSafe for ForthReply<B>where
B: 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