Skip to main content

Crate oxide_httpmock

Crate oxide_httpmock 

Source
Expand description

§Mock Library for the Oxide Rust SDK

Generated wrapping mocking library based on httpmock. It provides operation-specific wrappers around predicates and responses. This can be used to test uses of the Oxide Rust SDK.

Modules§

operations
When and Then wrappers for each operation. Each can be converted to its inner type with a call to into_inner(). This can be used to explicitly deviate from permitted values.

Traits§

MockServerExt
An extension trait for MockServer that adds a method for each operation. These are the equivalent of type-checked mock() calls.