Skip to main content

ContextExt

Trait ContextExt 

Source
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§

Source

fn aux_ty<T: Send + 'static>(&self) -> &T

Source

fn aux_ty_mut<T: Send + 'static>(&mut self) -> &mut T

Source

fn set_aux_ty<T: Send + 'static>(&mut self, value: T)

Source

fn set_address_type(&mut self, addr: AddressType)

Source

fn address_type(&self) -> AddressType

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§