pub struct Properties { /* private fields */ }Implementations§
Source§impl Properties
impl Properties
pub fn new() -> Self
pub fn get_property_as_string<'a>( &self, handle: PropSetHandle, name: &str, buffer: &'a mut [u8], ) -> Result<&'a str, GetStringError<'a>>
pub fn get_property_as_bool( &self, handle: PropSetHandle, name: &str, ) -> TeeResult<bool>
pub fn get_property_as_u32( &self, handle: PropSetHandle, name: &str, ) -> TeeResult<u32>
pub fn get_property_as_u64( &self, handle: PropSetHandle, name: &str, ) -> TeeResult<u64>
pub fn get_property_as_binary_block<'a>( &self, handle: PropSetHandle, name: &str, buffer: &'a mut [u8], ) -> Result<&'a [u8], GetBinaryBlockError<'a>>
pub fn get_property_as_uuid( &self, handle: PropSetHandle, name: &str, ) -> TeeResult<Uuid>
pub fn get_property_as_identity( &self, handle: PropSetHandle, name: &str, ) -> TeeResult<Identity>
pub fn allocate_property_enumerator(&mut self) -> PropSetHandle
pub fn free_property_enumerator(&mut self, handle: PropSetHandle)
pub fn start_property_enumerator( &mut self, handle: PropSetHandle, prop_set: PropSetHandle, )
pub fn reset_property_enumerator(&mut self, handle: PropSetHandle)
pub fn get_property_name<'a>( &self, handle: PropSetHandle, buffer: &'a mut [u8], ) -> Result<&'a str, GetStringError<'a>>
pub fn get_next_property(&mut self, handle: PropSetHandle) -> TeeResult<()>
Auto Trait Implementations§
impl !Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnsafeUnpin for Properties
impl UnwindSafe for Properties
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more