Enum tauri::ipc::InvokeResponse
source · pub enum InvokeResponse {
Ok(InvokeBody),
Err(InvokeError),
}
Expand description
Response from a InvokeMessage
passed to the InvokeResolver
.
Variants§
Trait Implementations§
source§impl Debug for InvokeResponse
impl Debug for InvokeResponse
source§impl From<InvokeError> for InvokeResponse
impl From<InvokeError> for InvokeResponse
source§fn from(error: InvokeError) -> Self
fn from(error: InvokeError) -> Self
Converts to this type from the input type.
source§impl<T: IpcResponse, E: Into<InvokeError>> From<Result<T, E>> for InvokeResponse
impl<T: IpcResponse, E: Into<InvokeError>> From<Result<T, E>> for InvokeResponse
Auto Trait Implementations§
impl Freeze for InvokeResponse
impl RefUnwindSafe for InvokeResponse
impl Send for InvokeResponse
impl Sync for InvokeResponse
impl Unpin for InvokeResponse
impl UnwindSafe for InvokeResponse
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