pub struct ResolvedAddress {
pub site: Arc<dyn EvalSite>,
pub selected_codec: Symbol,
pub supported_codecs: Vec<Symbol>,
}Expand description
Outcome of resolving a ServerAddress to a concrete eval site and codec set.
Fields§
§site: Arc<dyn EvalSite>Eval site that handles frames for the resolved address.
selected_codec: SymbolCodec selected for the connection.
supported_codecs: Vec<Symbol>Codecs the resolved site supports.
Auto Trait Implementations§
impl !RefUnwindSafe for ResolvedAddress
impl !UnwindSafe for ResolvedAddress
impl Freeze for ResolvedAddress
impl Send for ResolvedAddress
impl Sync for ResolvedAddress
impl Unpin for ResolvedAddress
impl UnsafeUnpin for ResolvedAddress
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