pub trait ContextExt {
// Required methods
fn aux_ty<T: Send + 'static>(&self) -> &T;
fn aux_ty_mut<T: Send + 'static>(&mut self) -> &mut T;
fn set_aux_ty<T: Send + 'static>(&mut self, value: T);
fn set_address_type(&mut self, addr: AddressType);
fn address_type(&self) -> AddressType;
}Required Methods§
fn aux_ty<T: Send + 'static>(&self) -> &T
fn aux_ty_mut<T: Send + 'static>(&mut self) -> &mut T
fn set_aux_ty<T: Send + 'static>(&mut self, value: T)
fn set_address_type(&mut self, addr: AddressType)
fn address_type(&self) -> AddressType
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".