Struct tee_properties::PropSet
source · pub struct PropSet { /* private fields */ }
Implementations§
source§impl PropSet
impl PropSet
pub fn from_config_file( config_path: &Path, prop_set: PropSetType, ) -> Result<Self, PropertyError>
pub fn from_config_string( config_string: &str, prop_set: PropSetType, ) -> Result<Self, PropertyError>
pub fn get_string_property( &self, prop_name: String, ) -> Result<String, PropertyError>
pub fn get_boolean_property( &self, prop_name: String, ) -> Result<bool, PropertyError>
pub fn get_uint32_property( &self, prop_name: String, ) -> Result<u32, PropertyError>
pub fn get_uint64_property( &self, prop_name: String, ) -> Result<u64, PropertyError>
pub fn get_binary_block_property( &self, prop_name: String, ) -> Result<Vec<u8>, PropertyError>
pub fn get_uuid_property( &self, prop_name: String, ) -> Result<Uuid, PropertyError>
pub fn get_identity_property( &self, prop_name: String, ) -> Result<Identity, PropertyError>
pub fn get_property_name_at_index( &self, index: usize, ) -> Result<String, PropertyError>
pub fn get_property_type_at_index( &self, index: usize, ) -> Result<PropType, PropertyError>
Auto Trait Implementations§
impl Freeze for PropSet
impl RefUnwindSafe for PropSet
impl Send for PropSet
impl Sync for PropSet
impl Unpin for PropSet
impl UnwindSafe for PropSet
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