Struct optee_utee::object::ObjectEnumHandle[][src]

pub struct ObjectEnumHandle { /* fields omitted */ }
Expand description

An enumerator for PersistentObjects.

Implementations

Allocate an object enumerator. Once an object enumerator has been allocated, it can be reused for multiple enumerations.

Reset an object enumerator handle to its initial state after allocation. If an enumeration has been started, it is stopped.

Start the enumeration of all the PersistentObjects in a given Trusted Storage. The object information can be retrieved by calling the function ObjectEnumHandle::get_next repeatedly.

Get the next object in an enumeration and returns information about the object: type, size, identifier, etc.

Trait Implementations

Deallocates all resources associated with an object enumerator handle. After this function is called, the handle is no longer valid.

Panics

  1. If object is not a valid opened object.
  2. If the Implementation detects any other error.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.