pub struct DestinationMatcherIndex { /* private fields */ }Implementations§
Source§impl DestinationMatcherIndex
impl DestinationMatcherIndex
pub fn new( destinations: impl Iterator<Item = Arc<DestinationWrapper>>, ) -> Result<Self, CardinalError>
pub fn resolve(&self, req: &RequestHeader) -> Option<Arc<DestinationWrapper>>
Auto Trait Implementations§
impl Freeze for DestinationMatcherIndex
impl !RefUnwindSafe for DestinationMatcherIndex
impl Send for DestinationMatcherIndex
impl Sync for DestinationMatcherIndex
impl Unpin for DestinationMatcherIndex
impl !UnwindSafe for DestinationMatcherIndex
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