pub struct Echo;Trait Implementations§
Source§impl RpcMethodPrebuffered for Echo
impl RpcMethodPrebuffered for Echo
Source§type Input = Vec<u8>
type Input = Vec<u8>
The high-level input type expected by the request encoder (e.g.,
Vec<f64>).Source§type Output = Vec<u8>
type Output = Vec<u8>
The high-level output type returned from the response encoder (e.g.,
f64).Source§fn encode_request(input: Self::Input) -> Result<Vec<u8>, Error>
fn encode_request(input: Self::Input) -> Result<Vec<u8>, Error>
Encodes the request into a byte array.
Source§fn decode_request(request_bytes: &[u8]) -> Result<Self::Input, Error>
fn decode_request(request_bytes: &[u8]) -> Result<Self::Input, Error>
Decodes raw request bytes into a typed request struct. Read more
Auto Trait Implementations§
impl Freeze for Echo
impl RefUnwindSafe for Echo
impl Send for Echo
impl Sync for Echo
impl Unpin for Echo
impl UnwindSafe for Echo
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