[][src]Trait act_zero::AsAddr

pub trait AsAddr {
    type Addr: AddrLike;
    pub fn as_addr(&self) -> &Self::Addr;
}

Implemented by addresses and references to addresses

Associated Types

type Addr: AddrLike[src]

The inner address type

Loading content...

Required methods

pub fn as_addr(&self) -> &Self::Addr[src]

Obtain a direct reference to the address

Loading content...

Implementations on Foreign Types

impl<T: AsAddr + ?Sized> AsAddr for &T[src]

type Addr = T::Addr

Loading content...

Implementors

impl<T: Actor + ?Sized> AsAddr for Addr<T>[src]

type Addr = Self

impl<T: Actor + ?Sized> AsAddr for WeakAddr<T>[src]

type Addr = Self

Loading content...