Struct ice_rs::adapter::Adapter[][src]

pub struct Adapter { /* fields omitted */ }

Implementations

impl Adapter[src]

pub fn with_endpoint(
    name: &str,
    endpoint: &str
) -> Result<Adapter, Box<dyn Error + Sync + Send>>
[src]

pub fn add(
    &mut self,
    ident: &str,
    object: Box<dyn IceObjectServer + Send + Sync>
)
[src]

pub async fn activate(&mut self) -> Result<(), Box<dyn Error + Sync + Send>>[src]

pub async fn handle_socket(
    &mut self,
    stream: &mut TcpStream
) -> Result<(), Box<dyn Error + Sync + Send>>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Adapter

impl Send for Adapter

impl Sync for Adapter

impl Unpin for Adapter

impl !UnwindSafe for Adapter

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.