Searched refs:load_from_str (Results 1 – 7 of 7) sorted by relevance
26 Self::load_from_str(&content) in load_from_str() 29 pub fn load_from_str(content: &str) -> Result<Self> {81 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_invalid_fs_type() 94 assert!(RootFSConfigFile::load_from_str(config_content).is_err()); in test_load_from_valid_str_size_integer() 106 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_valid_str_size_bytes_str() 120 let config = RootFSConfigFile::load_from_str(config_content)144 assert!(RootFSConfigFile::load_from_str(invalid_config_content).is_err()); in test_load_from_invalid_size_array() 157 assert!(RootFSConfigFile::load_from_str(invalid_config_content).is_err());23 pub fn load_from_str(content: &str) -> Result<Self> { load_from_str() method
26 Self::load_from_str(&content) in load()29 pub fn load_from_str(content: &str) -> Result<Self> { in load_from_str() method81 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_valid_str()94 assert!(RootFSConfigFile::load_from_str(config_content).is_err()); in test_load_from_invalid_fs_type()106 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_valid_str_size_integer()120 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_valid_str_size_bytes_str()144 assert!(RootFSConfigFile::load_from_str(invalid_config_content).is_err()); in test_load_from_invalid_size_str()157 assert!(RootFSConfigFile::load_from_str(invalid_config_content).is_err()); in test_load_from_invalid_size_array()
39 Self::load_from_str(&content) in load()42 pub fn load_from_str(content: &str) -> Result<Self> { in load_from_str() method
62 Self::load_from_str(&content) in load()65 pub fn load_from_str(content: &str) -> Result<Self> { in load_from_str() method
26 Self::load_from_str(&content) in load() 29 pub fn load_from_str(content: &str) -> Result<Self> { in load_from_str() method
26 Self::load_from_str(&content) in load()29 pub fn load_from_str(content: &str) -> Result<Self> { in load_from_str() method