Enum scl_core::version::LoadVersionInfoError
source · pub enum LoadVersionInfoError {
VersionBaseMissing,
MainJarFileMissing,
VersionFileMissing,
VersionFileOpenFail,
SCLConfigFileOpenFail,
ParseError(String),
}
Expand description
当解析出错时,此处为错误枚举值
Variants§
VersionBaseMissing
没有提供游戏版本文件夹路径或不存在
MainJarFileMissing
没有提供游戏本体文件路径或不存在
VersionFileMissing
没有提供版本元数据文件路径或不存在
VersionFileOpenFail
无法打开版本元数据文件
SCLConfigFileOpenFail
无法打开启动器配置文件
ParseError(String)
元数据解析错误,内容有误
Trait Implementations§
source§impl Clone for LoadVersionInfoError
impl Clone for LoadVersionInfoError
source§fn clone(&self) -> LoadVersionInfoError
fn clone(&self) -> LoadVersionInfoError
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 LoadVersionInfoError
impl Debug for LoadVersionInfoError
source§impl PartialEq<LoadVersionInfoError> for LoadVersionInfoError
impl PartialEq<LoadVersionInfoError> for LoadVersionInfoError
source§fn eq(&self, other: &LoadVersionInfoError) -> bool
fn eq(&self, other: &LoadVersionInfoError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LoadVersionInfoError
impl StructuralEq for LoadVersionInfoError
impl StructuralPartialEq for LoadVersionInfoError
Auto Trait Implementations§
impl RefUnwindSafe for LoadVersionInfoError
impl Send for LoadVersionInfoError
impl Sync for LoadVersionInfoError
impl Unpin for LoadVersionInfoError
impl UnwindSafe for LoadVersionInfoError
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.