[][src]Struct eventum::uds_client::UdsClient

pub struct UdsClient { /* fields omitted */ }

Unix Domain Socket client entry, created per connect.

Implementations

impl UdsClient[src]

UdsClient implementation.

pub fn new() -> UdsClient[src]

Constructor.

pub fn release(&self)[src]

Release inner.

pub fn get_inner(&self) -> Arc<UdsClientInner>[src]

Return UdsClientInner.

pub fn start(
    event_manager: Arc<Mutex<EventManager>>,
    handler: Arc<dyn UdsClientHandler>,
    path: &PathBuf
) -> Arc<Mutex<UdsClient>>
[src]

Start UdsClient.

pub fn connect(&self)[src]

Connect to server.

pub fn connect_timer(&self)[src]

Start connect timer.

pub fn stream_send(&self, message: &str) -> Result<(), EventError>[src]

Send message.

pub fn stream_read(&self) -> Result<String, EventError>[src]

Receive message.

Trait Implementations

impl Drop for UdsClient[src]

Auto Trait Implementations

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.