pub struct FrontEndHandler { /* private fields */ }Expand description
Read and verify request from IPC stream
Service component that serializes requests and deserializes responses from/to the stream provided by the listener.
Requests are passed forward to the Dispatcher.
Implementations§
Source§impl FrontEndHandler
impl FrontEndHandler
Sourcepub fn handle_request(&self, connection: Connection)
pub fn handle_request(&self, connection: Connection)
Handle new connections on the underlying IPC mechanism.
Unmarshalls a request from the stream, passes it to the dispatcher and marshalls the response back onto the stream.
If an error occurs during (un)marshalling; no operation will be performed, an error will be logged and the method will return.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrontEndHandler
impl !RefUnwindSafe for FrontEndHandler
impl Send for FrontEndHandler
impl Sync for FrontEndHandler
impl Unpin for FrontEndHandler
impl !UnwindSafe for FrontEndHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more