pub struct KextDependencies {
pub bundle_compatible_version: Option<String>,
pub bundle_libraries: Option<DefaultDictionary>,
}
Expand description
Kext Dependencies
Fields
bundle_compatible_version: Option<String>
The backward limit of compatibility for the current driver.
Specify a previous version for the current driver, or the driver’s current version. Format this string the same way you format the value of the CFBundleVersion key. The combination of this value and the value in the CFBundleVersion key define the range of versions that offers the same level of compatibility. Dependent drivers use this information to determine if they are compatible with the driver. For example, if the driver’s current version is 10.0, and you set the value of this key to 5.0, a driver that depends on version 7.0 can successfully use the current driver.
When you change your driver in a way that breaks compatibility with your old code, update the value of this key. At that time, set the new value to the current version of your driver.
Availability
- macOS 10.0+
Framework
- Kernel
bundle_libraries: Option<DefaultDictionary>
The drivers that the system must load before your driver.
Use this key to specify other drivers that your driver depends on. For example, specify any drivers that contain symbols your driver creates or uses at startup. The system loads the drivers in this list before it attempts to load your driver. If the system fails to resolve the dependencies or load the corresponding libraries, the kernel doesn’t load your driver.
Each key in the dictionary is the bundle identifier of another driver, and the value is a string that contains the minimum version of the driver you require. Your driver must be compatible with the specified version of the other driver.
Don’t include this key for codeless kexts.
Availability
- macOS 10.0+
Framework
- Kernel
Trait Implementations
sourceimpl Clone for KextDependencies
impl Clone for KextDependencies
sourcefn clone(&self) -> KextDependencies
fn clone(&self) -> KextDependencies
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KextDependencies
impl Debug for KextDependencies
sourceimpl Default for KextDependencies
impl Default for KextDependencies
sourcefn default() -> KextDependencies
fn default() -> KextDependencies
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for KextDependencies
impl<'de> Deserialize<'de> for KextDependencies
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<KextDependencies> for KextDependencies
impl PartialEq<KextDependencies> for KextDependencies
sourcefn eq(&self, other: &KextDependencies) -> bool
fn eq(&self, other: &KextDependencies) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &KextDependencies) -> bool
fn ne(&self, other: &KextDependencies) -> bool
This method tests for !=
.
sourceimpl Serialize for KextDependencies
impl Serialize for KextDependencies
impl Eq for KextDependencies
impl StructuralEq for KextDependencies
impl StructuralPartialEq for KextDependencies
Auto Trait Implementations
impl RefUnwindSafe for KextDependencies
impl Send for KextDependencies
impl Sync for KextDependencies
impl Unpin for KextDependencies
impl UnwindSafe for KextDependencies
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.