Trait UTransportHolder

Source
pub trait UTransportHolder {
    // Required method
    fn get_transport(&self) -> Arc<dyn UTransport>;
}
Expand description

This trait primarily serves to provide a hook-point for using the mockall crate, for mocking USubscriptionService objects where we also need/want to inject custom/mock UTransport implementations that subsequently get used in test cases.

Required Methods§

Implementors§