Trait ServiceIdExt

Source
pub trait ServiceIdExt {
    // Required methods
    fn to_protocol_address(
        self,
        device_id: impl Into<DeviceId>,
    ) -> ProtocolAddress;
    fn aci(self) -> Option<Aci>;
    fn pni(self) -> Option<Pni>;
}

Required Methods§

Source

fn to_protocol_address(self, device_id: impl Into<DeviceId>) -> ProtocolAddress

Source

fn aci(self) -> Option<Aci>

Source

fn pni(self) -> Option<Pni>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A> ServiceIdExt for A
where A: Into<ServiceId>,