Trait lazy_bytes_cast::FromBytesCast [] [src]

pub unsafe trait FromBytesCast<T: ToBytesCast> {
    fn cast_to(&self) -> Result<T, String>;
}

Trait to provide casting function to byte slices

Required Methods

fn cast_to(&self) -> Result<T, String>

Implementors