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.
pub fn get_next<T>(
&mut self,
object_info: &mut ObjectInfo,
object_id: &mut [u8]
) -> Result<u32>
pub fn get_next<T>(
&mut self,
object_info: &mut ObjectInfo,
object_id: &mut [u8]
) -> Result<u32>
Get the next object in an enumeration and returns information about the object: type, size, identifier, etc.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ObjectEnumHandle
impl !Send for ObjectEnumHandle
impl !Sync for ObjectEnumHandle
impl Unpin for ObjectEnumHandle
impl UnwindSafe for ObjectEnumHandle
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.