Enum LevelReadError
#[non_exhaustive]pub enum LevelReadError {
Stale,
Unavailable,
}Expand description
Why a LevelRef read cannot return its requested state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Stale
The handle’s level is gone or has been reopened.
The state is not readable from this side or phase.
Trait Implementations§
§impl Clone for LevelReadError
impl Clone for LevelReadError
§fn clone(&self) -> LevelReadError
fn clone(&self) -> LevelReadError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LevelReadError
§impl Debug for LevelReadError
impl Debug for LevelReadError
impl Eq for LevelReadError
§impl From<LevelReadError> for LevelWriteError
impl From<LevelReadError> for LevelWriteError
§fn from(error: LevelReadError) -> LevelWriteError
fn from(error: LevelReadError) -> LevelWriteError
Converts to this type from the input type.
§impl NoBackend for LevelReadError
impl NoBackend for LevelReadError
§fn no_backend() -> LevelReadError
fn no_backend() -> LevelReadError
The error for a host without a game.
§impl PartialEq for LevelReadError
impl PartialEq for LevelReadError
impl StructuralPartialEq for LevelReadError
Auto Trait Implementations§
impl Freeze for LevelReadError
impl RefUnwindSafe for LevelReadError
impl Send for LevelReadError
impl Sync for LevelReadError
impl Unpin for LevelReadError
impl UnsafeUnpin for LevelReadError
impl UnwindSafe for LevelReadError
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