pub struct ProbeRegistry { /* private fields */ }Implementations§
Source§impl ProbeRegistry
impl ProbeRegistry
pub fn new() -> Self
pub fn register(&mut self, probe: Probe)
pub fn probes_for_origin(&self, origin: &str) -> Vec<ProbeRequest>
pub fn check_response( &self, standard: &str, status: u16, content_type: &str, body: String, url: String, ) -> Option<ProbeMatch>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProbeRegistry
impl RefUnwindSafe for ProbeRegistry
impl Send for ProbeRegistry
impl Sync for ProbeRegistry
impl Unpin for ProbeRegistry
impl UnsafeUnpin for ProbeRegistry
impl UnwindSafe for ProbeRegistry
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