pub struct Request<'a> { /* private fields */ }Expand description
The IPC request.
Includes the body and headers parameters of a Tauri command invocation.
This allows commands to accept raw bytes - on all platforms except Android.
Implementations§
Trait Implementations§
Source§impl<'a, R: Runtime> CommandArg<'a, R> for Request<'a>
impl<'a, R: Runtime> CommandArg<'a, R> for Request<'a>
Source§fn from_command(command: CommandItem<'a, R>) -> Result<Self, InvokeError>
fn from_command(command: CommandItem<'a, R>) -> Result<Self, InvokeError>
Returns the invoke Request.
Auto Trait Implementations§
impl<'a> Freeze for Request<'a>
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
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