Trait Connect

Source
pub trait Connect {
    type Stream: I3IPC;

    // Required method
    fn connect() -> Result<Self::Stream, Error>;
}
Expand description

Types implementing this are provided a connect function and return a stream

Required Associated Types§

Required Methods§

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§