pub fn try_to_dataset(&self) -> Result<OperationalDataset> {
        let mut ret = OperationalDataset::default();
        Error::from(unsafe { otDatasetParseTlvs(self.as_ot_ptr(), ret.as_ot_mut_ptr()) })
            .into_result()?;
        Ok(ret)
    }
/// Tries to parse the TLVs into a dataset
/// Functional equivalent to `otDatasetParseTlvs`
Tries to parse the TLVs into a dataset
Functional equivalent to `otDatasetParseTlvs`
Tries to parse the TLVs into a dataset Functional equivalent to ` otDatasetParseTlvs `
pub fn try_to_dataset(&self) -> Result<OperationalDataset> {
        let mut ret = OperationalDataset::default();
        Error::from(unsafe { otDatasetParseTlvs(self.as_ot_ptr(), ret.as_ot_mut_ptr()) })
            .into_result()?;
        Ok(ret)
    }
pub fn try_to_dataset ( & self ) -> Result < OperationalDataset > { let mut ret = OperationalDataset :: default ( ) ; Error :: from ( unsafe { otDatasetParseTlvs ( self . as_ot_ptr ( ) , ret . as_ot_mut_ptr ( ) ) } ) . into_result ( ) ? ; Ok ( ret ) }
Tries to parse the TLVs into a dataset
Functional equivalent to `otDatasetParseTlvs`
Tries to parse the TLVs into a dataset Functional equivalent to ` otDatasetParseTlvs `
&self
&self