Struct spaceapi_server::Listening [−][src]
pub struct Listening {
pub socket: SocketAddr,
// some fields omitted
}
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 !UnwindSafe for Listening
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn persistent_into(self) -> Arc<Mutex<T>>
pub fn persistent_into(self) -> Arc<Mutex<T>>
Convert self
into a value of type T
.
pub fn persistent_into(self) -> Arc<RwLock<T>>
pub fn persistent_into(self) -> Arc<RwLock<T>>
Convert self
into a value of type T
.
impl<T> PersistentInto<Arc<T>> for T
impl<T> PersistentInto<Arc<T>> for T
pub fn persistent_into(self) -> Arc<T>
pub fn persistent_into(self) -> Arc<T>
Convert self
into a value of type T
.
pub fn persistent_into(self) -> T
pub fn persistent_into(self) -> T
Convert self
into a value of type T
.