pub struct RouterDecision {
pub backend: &'static str,
pub reason: Reason,
}Expand description
Routing decision produced by the backend auto-picker.
Fields§
§backend: &'static strThe selected backend id.
reason: ReasonReason the decision fell to this backend.
Trait Implementations§
Source§impl Clone for RouterDecision
impl Clone for RouterDecision
Source§fn clone(&self) -> RouterDecision
fn clone(&self) -> RouterDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RouterDecision
impl RefUnwindSafe for RouterDecision
impl Send for RouterDecision
impl Sync for RouterDecision
impl Unpin for RouterDecision
impl UnsafeUnpin for RouterDecision
impl UnwindSafe for RouterDecision
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