Enum steam_vent::ServerDiscoveryError
source · pub enum ServerDiscoveryError {
Network(Error),
NoServers,
}Variants§
Trait Implementations§
source§impl Debug for ServerDiscoveryError
impl Debug for ServerDiscoveryError
source§impl Display for ServerDiscoveryError
impl Display for ServerDiscoveryError
source§impl Error for ServerDiscoveryError
impl Error for ServerDiscoveryError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for ServerDiscoveryError
impl From<Error> for ServerDiscoveryError
source§impl From<ServerDiscoveryError> for ConnectionError
impl From<ServerDiscoveryError> for ConnectionError
source§fn from(source: ServerDiscoveryError) -> Self
fn from(source: ServerDiscoveryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServerDiscoveryError
impl !RefUnwindSafe for ServerDiscoveryError
impl Send for ServerDiscoveryError
impl Sync for ServerDiscoveryError
impl Unpin for ServerDiscoveryError
impl !UnwindSafe for ServerDiscoveryError
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