pub enum BridgeError<F: FfiFormat = BincodeFfiFormat> {
DeserializeEvent(F::Error),
DeserializeOutput(F::Error),
ProcessResponse(ResolveError),
SerializeRequests(F::Error),
SerializeView(F::Error),
}Variants§
DeserializeEvent(F::Error)
DeserializeOutput(F::Error)
ProcessResponse(ResolveError)
SerializeRequests(F::Error)
SerializeView(F::Error)
Trait Implementations§
Source§impl<F: FfiFormat> Display for BridgeError<F>
impl<F: FfiFormat> Display for BridgeError<F>
Source§impl<F: FfiFormat> Error for BridgeError<F>
impl<F: FfiFormat> Error for BridgeError<F>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<F: FfiFormat> From<ResolveError> for BridgeError<F>
impl<F: FfiFormat> From<ResolveError> for BridgeError<F>
Source§fn from(source: ResolveError) -> Self
fn from(source: ResolveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<F> Freeze for BridgeError<F>
impl<F> RefUnwindSafe for BridgeError<F>
impl<F> Send for BridgeError<F>
impl<F> Sync for BridgeError<F>
impl<F> Unpin for BridgeError<F>
impl<F> UnsafeUnpin for BridgeError<F>
impl<F> UnwindSafe for BridgeError<F>
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