Enum steamworks::SteamAPIInitError
source · pub enum SteamAPIInitError {
FailedGeneric(String),
NoSteamClient(String),
VersionMismatch(String),
}
Variants§
Implementations§
source§impl SteamAPIInitError
impl SteamAPIInitError
pub fn from_result_and_message( result: ESteamAPIInitResult, message: SteamErrMsg ) -> Self
Trait Implementations§
source§impl Clone for SteamAPIInitError
impl Clone for SteamAPIInitError
source§fn clone(&self) -> SteamAPIInitError
fn clone(&self) -> SteamAPIInitError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SteamAPIInitError
impl Debug for SteamAPIInitError
source§impl Display for SteamAPIInitError
impl Display for SteamAPIInitError
source§impl Error for SteamAPIInitError
impl Error for SteamAPIInitError
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 PartialEq for SteamAPIInitError
impl PartialEq for SteamAPIInitError
source§fn eq(&self, other: &SteamAPIInitError) -> bool
fn eq(&self, other: &SteamAPIInitError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SteamAPIInitError
impl StructuralPartialEq for SteamAPIInitError
Auto Trait Implementations§
impl RefUnwindSafe for SteamAPIInitError
impl Send for SteamAPIInitError
impl Sync for SteamAPIInitError
impl Unpin for SteamAPIInitError
impl UnwindSafe for SteamAPIInitError
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