Trait dash_sdk::mock::MockResponse
source · pub trait MockResponse {
// Required methods
fn mock_serialize(&self, mock_sdk: &MockDashPlatformSdk) -> Vec<u8> ⓘ;
fn mock_deserialize(mock_sdk: &MockDashPlatformSdk, buf: &[u8]) -> Self
where Self: Sized;
}
Expand description
Trait implemented by objects that can be used in mock expectation responses.
§Panics
Can panic on errors.