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§
Source§impl Clone for KextDependencies
impl Clone for KextDependencies
Source§fn clone(&self) -> KextDependencies
fn clone(&self) -> KextDependencies
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KextDependencies
impl Debug for KextDependencies
Source§impl Default for KextDependencies
impl Default for KextDependencies
Source§fn default() -> KextDependencies
fn default() -> KextDependencies
Source§impl<'de> Deserialize<'de> for KextDependencies
impl<'de> Deserialize<'de> for KextDependencies
Source§fn 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>,
Source§impl PartialEq for KextDependencies
impl PartialEq for KextDependencies
Source§impl Serialize for KextDependencies
impl Serialize for KextDependencies
impl Eq for KextDependencies
impl StructuralPartialEq for KextDependencies
Auto Trait Implementations§
impl Freeze for KextDependencies
impl RefUnwindSafe for KextDependencies
impl Send for KextDependencies
impl Sync for KextDependencies
impl Unpin for KextDependencies
impl UnwindSafe for KextDependencies
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.