pub struct RliAdapter { /* private fields */ }Expand description
RLI adapter for the completion rate measurement.
Implementations§
Source§impl RliAdapter
impl RliAdapter
Sourcepub fn new() -> Result<Self, AdapterError>
pub fn new() -> Result<Self, AdapterError>
Create a new RLI adapter with the canonical endpoint.
Sourcepub fn with_endpoint(endpoint: Url) -> Self
pub fn with_endpoint(endpoint: Url) -> Self
Create an RLI adapter with a custom endpoint (for testing).
Trait Implementations§
Source§impl Default for RliAdapter
impl Default for RliAdapter
Auto Trait Implementations§
impl Freeze for RliAdapter
impl RefUnwindSafe for RliAdapter
impl Send for RliAdapter
impl Sync for RliAdapter
impl Unpin for RliAdapter
impl UnsafeUnpin for RliAdapter
impl UnwindSafe for RliAdapter
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