pub struct AppHandler<Endpoint: Debug + Clone + Ord + Eq + Hash> { /* private fields */ }Expand description
Main PacketHandler for an application suite of handlers. Efficiency and concurrency are the primary goals of this implementation, but with the need to balance developer friendliness of the main API.
Implementations§
Source§impl<Endpoint: Debug + Clone + Ord + Eq + Hash + Send + 'static> AppHandler<Endpoint>
impl<Endpoint: Debug + Clone + Ord + Eq + Hash + Send + 'static> AppHandler<Endpoint>
pub fn from_builder(builder: AppBuilder<Endpoint>, mtu: Option<u32>) -> Self
Trait Implementations§
Source§impl<Endpoint: Debug + Clone + Ord + Eq + Hash + Send + 'static> IntoHandler<AppHandler<Endpoint>, Endpoint> for AppBuilder<Endpoint>
impl<Endpoint: Debug + Clone + Ord + Eq + Hash + Send + 'static> IntoHandler<AppHandler<Endpoint>, Endpoint> for AppBuilder<Endpoint>
fn into_handler(self, mtu: Option<u32>) -> AppHandler<Endpoint>
Auto Trait Implementations§
impl<Endpoint> Freeze for AppHandler<Endpoint>
impl<Endpoint> !RefUnwindSafe for AppHandler<Endpoint>
impl<Endpoint> Send for AppHandler<Endpoint>where
Endpoint: Send,
impl<Endpoint> Sync for AppHandler<Endpoint>where
Endpoint: Send,
impl<Endpoint> Unpin for AppHandler<Endpoint>
impl<Endpoint> !UnwindSafe for AppHandler<Endpoint>
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