pub struct BoundServer { /* private fields */ }Implementations§
Source§impl BoundServer
impl BoundServer
pub fn addrs(&self) -> &[SocketAddr]
pub fn handle(&self) -> ServerHandle
pub async fn run(self) -> Result<(), ServerError>
Auto Trait Implementations§
impl Freeze for BoundServer
impl !RefUnwindSafe for BoundServer
impl Send for BoundServer
impl !Sync for BoundServer
impl Unpin for BoundServer
impl UnsafeUnpin for BoundServer
impl !UnwindSafe for BoundServer
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