pub struct Ping;
Trait Implementations§
Source§impl Request for Ping
impl Request for Ping
const TYPE: IProtoType = IProtoType::Ping
type Response = ()
fn encode_body(&self, out: &mut impl Write) -> Result<(), Error>
fn decode_response_body( _in: &mut Cursor<Vec<u8>>, ) -> Result<Self::Response, Error>
fn encode_header( &self, out: &mut impl Write, sync: SyncIndex, ) -> Result<(), Error>
fn encode(&self, out: &mut impl Write, sync: SyncIndex) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for Ping
impl RefUnwindSafe for Ping
impl Send for Ping
impl Sync for Ping
impl Unpin for Ping
impl UnwindSafe for Ping
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