Struct security_framework::base::Error
[−]
[src]
pub struct Error(_);
A Security Framework error.
Methods
impl Error
[src]
fn from_code(code: OSStatus) -> Error
Creates a new Error
from a status code.
fn message(&self) -> Option<String>
Returns a string describing the current error, if available.
fn code(&self) -> OSStatus
Returns the code of the current error.
Trait Implementations
impl Copy for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more