Enum vcpkg::Error [−][src]
pub enum Error { DisabledByEnv(String), RequiredEnvMissing(String), NotMSVC, VcpkgNotFound(String), LibNotFound(String), VcpkgInstallation(String), // some variants omitted }
Variants
DisabledByEnv(String)
Aborted because of a VCPKGRS_NO_*
environment variable.
Contains the name of the responsible environment variable.
RequiredEnvMissing(String)
Aborted because a required environment variable was not set.
On Windows, only MSVC ABI is supported
VcpkgNotFound(String)
Can’t find a vcpkg tree
LibNotFound(String)
Library not found in vcpkg tree
VcpkgInstallation(String)
Could not understand vcpkg installation
Trait Implementations
impl Error for Error
[src]
impl Error for Error
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn cause(&self) -> Option<&dyn Error>
[src]
fn cause(&self) -> Option<&dyn Error>
[src]👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more