pub struct Server { /* private fields */ }Expand description
UDP server instance containing configuration and handler functions.
Provides thread-safe access to server state and operations.
Implementations§
Source§impl Server
Implementation of Server methods.
impl Server
Implementation of Server methods.
Provides server configuration and runtime operations.
Sourcepub async fn error_handle<F>(&self, func: F) -> &Self
pub async fn error_handle<F>(&self, func: F) -> &Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Server
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
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