Struct steam_vent::ServerList
source · pub struct ServerList { /* private fields */ }Implementations§
source§impl ServerList
impl ServerList
pub async fn discover() -> Result<ServerList, ServerDiscoveryError>
pub async fn discover_with( options: DiscoverOptions ) -> Result<ServerList, ServerDiscoveryError>
pub fn pick(&self) -> SocketAddr
pub fn pick_ws(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerList
impl RefUnwindSafe for ServerList
impl Send for ServerList
impl Sync for ServerList
impl Unpin for ServerList
impl UnwindSafe for ServerList
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