pub struct Call<'a, 'b, T: ?Sized> {
pub fn_name: &'a str,
pub args: &'b T,
}
Fields§
§fn_name: &'a str
§args: &'b T
Trait Implementations§
source§impl<'a, 'b, T> Request for Call<'a, 'b, T>where
T: ToTupleBuffer + ?Sized,
impl<'a, 'b, T> Request for Call<'a, 'b, T>where
T: ToTupleBuffer + ?Sized,
const TYPE: IProtoType = IProtoType::Call
type Response = Tuple
fn encode_body(&self, out: &mut impl Write) -> Result<(), Error>
fn decode_body(&self, 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<'a, 'b, T: ?Sized> RefUnwindSafe for Call<'a, 'b, T>where
T: RefUnwindSafe,
impl<'a, 'b, T: ?Sized> Send for Call<'a, 'b, T>where
T: Sync,
impl<'a, 'b, T: ?Sized> Sync for Call<'a, 'b, T>where
T: Sync,
impl<'a, 'b, T: ?Sized> Unpin for Call<'a, 'b, T>
impl<'a, 'b, T: ?Sized> UnwindSafe for Call<'a, 'b, T>where
T: RefUnwindSafe,
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