pub struct Requirement { /* private fields */ }Expand description
Wraps SecRequirementRef.
Implementations§
Source§impl Requirement
impl Requirement
Sourcepub fn from_data(data: &[u8]) -> Result<Self>
pub fn from_data(data: &[u8]) -> Result<Self>
Wraps the corresponding SecRequirementRef operation.
Sourcepub fn from_string(text: &str) -> Result<Self>
pub fn from_string(text: &str) -> Result<Self>
Wraps the corresponding SecRequirementRef operation.
Sourcepub fn from_string_with_errors(text: &str) -> Result<Self>
pub fn from_string_with_errors(text: &str) -> Result<Self>
Wraps the corresponding SecRequirementRef operation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Requirement
impl RefUnwindSafe for Requirement
impl !Send for Requirement
impl !Sync for Requirement
impl Unpin for Requirement
impl UnsafeUnpin for Requirement
impl UnwindSafe for Requirement
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