pub enum ObsBootstrapError {
RuntimeBootstrapDisabled,
RuntimeAlreadyLoaded,
GeneralError(String),
UnsupportedPlatform(String),
InvalidFormatError(String),
ExtractError(String),
IoError(&'static str, Error),
LibLoadingError(&'static str, Error),
VersionError(String),
HashMismatchError,
InvalidState,
Abort(Box<dyn Error + Send + Sync>),
}Variants§
RuntimeBootstrapDisabled
Legacy variant retained for source compatibility. New bootstrap calls do not return it.
RuntimeAlreadyLoaded
OBS is already mapped into this process, so replacing its runtime files would be unsafe. On Windows, enable delay loading and bootstrap first.
GeneralError(String)
UnsupportedPlatform(String)
InvalidFormatError(String)
ExtractError(String)
IoError(&'static str, Error)
Contains context and specific I/O error.
LibLoadingError(&'static str, Error)
VersionError(String)
HashMismatchError
InvalidState
Abort(Box<dyn Error + Send + Sync>)
Trait Implementations§
Source§impl Debug for ObsBootstrapError
impl Debug for ObsBootstrapError
Source§impl Display for ObsBootstrapError
impl Display for ObsBootstrapError
Source§impl Error for ObsBootstrapError
impl Error for ObsBootstrapError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl !RefUnwindSafe for ObsBootstrapError
impl !UnwindSafe for ObsBootstrapError
impl Forget for ObsBootstrapError
impl Freeze for ObsBootstrapError
impl Move for ObsBootstrapError
impl Send for ObsBootstrapError
impl Sync for ObsBootstrapError
impl Unpin for ObsBootstrapError
impl UnsafeUnpin for ObsBootstrapError
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