Struct core_foundation::error::CFError [] [src]

pub struct CFError(_);

An error value.

Methods

impl CFError
[src]

Returns a string identifying the domain with which this error is associated.

Returns the code identifying this type of error.

Returns a human-presentable description of the error.

Trait Implementations

impl Drop for CFError
[src]

A method called when the value goes out of scope. Read more

impl TCFType<CFErrorRef> for CFError
[src]

Returns the object as its concrete TypeRef.

Returns an instance of the object, wrapping the underlying CFTypeRef subclass. Use this when following Core Foundation's "Get Rule". The reference count is bumped. Read more

Returns the object as a raw CFTypeRef. The reference count is not adjusted.

Returns an instance of the object, wrapping the underlying CFTypeRef subclass. Use this when following Core Foundation's "Create Rule". The reference count is not bumped. Read more

Returns the type ID for this class.

Returns the object as a wrapped CFType. The reference count is incremented by one.

Returns the reference count of the object. It is unwise to do anything other than test whether the return value of this method is greater than zero. Read more

Returns the type ID of this object.

Writes a debugging version of this object on standard error.

Returns true if this value is an instance of another type.

impl Debug for CFError
[src]

Formats the value using the given formatter.

impl Display for CFError
[src]

Formats the value using the given formatter. Read more

impl Error for CFError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more