pub struct PropSet { /* private fields */ }
Implementations§
Source§impl PropSet
impl PropSet
pub fn from_config_file(config_path: &Path) -> Result<Self, PropertyError>
pub fn from_config_string(config_string: &str) -> 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>
pub fn get_number_of_props(&self) -> usize
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)