Struct optee_utee::object::ObjectEnumHandle
source · pub struct ObjectEnumHandle { /* private fields */ }
Expand description
An enumerator for PersistentObjects.
Implementations§
source§impl ObjectEnumHandle
impl ObjectEnumHandle
sourcepub fn allocate() -> Result<Self>
pub fn allocate() -> Result<Self>
Allocate an object enumerator. Once an object enumerator has been allocated, it can be reused for multiple enumerations.
sourcepub fn reset(&mut self)
pub fn reset(&mut self)
Reset an object enumerator handle to its initial state after allocation. If an enumeration has been started, it is stopped.
sourcepub fn start(&mut self, storage_id: u32) -> Result<()>
pub fn start(&mut self, storage_id: u32) -> Result<()>
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjectEnumHandle
impl RefUnwindSafe for ObjectEnumHandle
impl !Send for ObjectEnumHandle
impl !Sync for ObjectEnumHandle
impl Unpin for ObjectEnumHandle
impl UnwindSafe for ObjectEnumHandle
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