Struct spaceapi_server::Listening
source · pub struct Listening {
pub socket: SocketAddr,
/* private fields */
}
Expand description
A listening server, which can later be closed.
Fields§
§socket: SocketAddr
The socket addresses that the server is bound to.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Listening
impl Send for Listening
impl Sync for Listening
impl Unpin for Listening
impl !UnwindSafe for Listening
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
§impl<T> PersistentInto<Arc<Mutex<T>, Global>> for T
impl<T> PersistentInto<Arc<Mutex<T>, Global>> for T
§fn persistent_into(self) -> Arc<Mutex<T>, Global>
fn persistent_into(self) -> Arc<Mutex<T>, Global>
Convert
self
into a value of type T
.§impl<T> PersistentInto<Arc<RwLock<T>, Global>> for T
impl<T> PersistentInto<Arc<RwLock<T>, Global>> for T
§fn persistent_into(self) -> Arc<RwLock<T>, Global>
fn persistent_into(self) -> Arc<RwLock<T>, Global>
Convert
self
into a value of type T
.§impl<T> PersistentInto<Arc<T, Global>> for T
impl<T> PersistentInto<Arc<T, Global>> for T
§fn persistent_into(self) -> Arc<T, Global>
fn persistent_into(self) -> Arc<T, Global>
Convert
self
into a value of type T
.§impl<T> PersistentInto<T> for T
impl<T> PersistentInto<T> for T
§fn persistent_into(self) -> T
fn persistent_into(self) -> T
Convert
self
into a value of type T
.