diff options
| author | Flaise <[email protected]> | 2019-08-22 11:28:59 -0500 |
|---|---|---|
| committer | Flaise <[email protected]> | 2019-08-22 11:28:59 -0500 |
| commit | 38155dcf5533436d4ad302c9bfa1c982226a21f9 (patch) | |
| tree | 2599f55885279ae1dbd85dfaee03e28b5379c34f /src/error.rs | |
| parent | Replaced tabs with spaces (diff) | |
| download | steamworks-rs-38155dcf5533436d4ad302c9bfa1c982226a21f9.tar.xz steamworks-rs-38155dcf5533436d4ad302c9bfa1c982226a21f9.zip | |
SteamError is Copy and Clone, adjusted callback type constraints
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index cea2ed9..0f5fc39 100644 --- a/src/error.rs +++ b/src/error.rs @@ -7,7 +7,7 @@ use crate::sys; /// /// Documentation is based on official documentation which doesn't /// always explain when an error could be returned or its meaning. -#[derive(Debug, Fail, PartialEq, Eq)] +#[derive(Copy, Clone, Debug, Fail, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub enum SteamError { /// Returned if the steamworks API fails to initialize. @@ -56,7 +56,7 @@ pub enum SteamError { #[fail(display = "access denied")] AccessDenied, /// Returned when the operation timed out - #[fail(display = "operation timed")] + #[fail(display = "operation timed out")] Timeout, /// Returned when the user is VAC2 banned #[fail(display = "VAC2 banned")] |