pub struct SensorNativeSolver { /* private fields */ }Expand description
HTTP-backed native solver bound to a single tenant profile.
Implementations§
Source§impl SensorNativeSolver
impl SensorNativeSolver
pub fn new(client: Client, profile: Arc<TenantProfile>) -> Self
Sourcepub fn build_payload(&self, ctx: &SolveContext) -> Result<Vec<u8>, AppError>
pub fn build_payload(&self, ctx: &SolveContext) -> Result<Vec<u8>, AppError>
Build the wire-format payload for the given context.
Trait Implementations§
Source§impl NativeSolver for SensorNativeSolver
impl NativeSolver for SensorNativeSolver
Auto Trait Implementations§
impl Freeze for SensorNativeSolver
impl !RefUnwindSafe for SensorNativeSolver
impl Send for SensorNativeSolver
impl Sync for SensorNativeSolver
impl Unpin for SensorNativeSolver
impl UnsafeUnpin for SensorNativeSolver
impl !UnwindSafe for SensorNativeSolver
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