pub fn from_slice(buf: &[u8]) -> Result<NexusConfig, Error> {
        let mut reader = Cursor::new(buf);
        let config: NexusConfig = deserialize_from(&mut reader)?;
        Ok(config)
    }
/// Convert a slice into a NexusConfig object
Convert a slice into a NexusConfig object
Convert a slice into a NexusConfig object
pub fn from_slice(buf: &[u8]) -> Result<NexusConfig, Error> {
        let mut reader = Cursor::new(buf);
        let config: NexusConfig = deserialize_from(&mut reader)?;
        Ok(config)
    }
pub fn from_slice ( buf : & [ u8 ] ) -> Result < NexusConfig , Error > { let mut reader = Cursor :: new ( buf ) ; let config : NexusConfig = deserialize_from ( & mut reader ) ? ; Ok ( config ) }
Convert a slice into a NexusConfig object
Convert a slice into a NexusConfig object
buf
&[u8]