Enum mcvm_parse::FailReason
source · pub enum FailReason {
None,
UnsupportedVersion,
UnsupportedModloader,
UnsupportedPluginLoader,
UnsupportedFeatures,
UnsupportedOperatingSystem,
UnsupportedArchitecture,
}
Expand description
Reason why the package reported a failure
Variants§
None
No fail reason is provided
UnsupportedVersion
The Minecraft version is unsupported
UnsupportedModloader
The modloader is unsupported
UnsupportedPluginLoader
The plugin loader is unsupported
UnsupportedFeatures
The configured set of features is unsupported
UnsupportedOperatingSystem
The operating system is unsupported
UnsupportedArchitecture
The architecture is unsupported
Implementations§
source§impl FailReason
impl FailReason
sourcepub fn from_string(string: &str) -> Option<Self>
pub fn from_string(string: &str) -> Option<Self>
Parse a FailReason from a string
Trait Implementations§
source§impl Clone for FailReason
impl Clone for FailReason
source§fn clone(&self) -> FailReason
fn clone(&self) -> FailReason
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 FailReason
impl Debug for FailReason
Auto Trait Implementations§
impl Freeze for FailReason
impl RefUnwindSafe for FailReason
impl Send for FailReason
impl Sync for FailReason
impl Unpin for FailReason
impl UnwindSafe for FailReason
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