Skip to main content

CdrsSender

Trait CdrsSender 

Source
pub trait CdrsSender:
    Send
    + Sync
    + 'static {
    // Required method
    fn list(
        &self,
        query: PageQuery,
        context: RequestContext,
    ) -> impl Future<Output = Handled<Page<Cdr>>> + Send;
}
Available on crate feature server only.
Expand description

The CPO side of the CDRs module.

Spec: 2.3.0 §mod_cdrs_cpo_interface

Required Methods§

Source

fn list( &self, query: PageQuery, context: RequestContext, ) -> impl Future<Output = Handled<Page<Cdr>>> + Send

GET {cdrs} — one page of CDRs.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl CdrsSender for MockPeer

Available on crate feature testkit only.