[−][src]Struct eventum::uds_client::UdsClient
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]
event_manager: Arc<Mutex<EventManager>>,
handler: Arc<dyn UdsClientHandler>,
path: &PathBuf
) -> Arc<Mutex<UdsClient>>
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
Auto Trait Implementations
impl !RefUnwindSafe for UdsClient
impl Send for UdsClient
impl !Sync for UdsClient
impl Unpin for UdsClient
impl !UnwindSafe for UdsClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,