Trait lazy_bytes_cast::from::FromBytesCast [] [src]

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

Provides casting from bytes slice.

If you're absolutely hate to bother yourself by checking Result.

Feel free to just use bytes_cast_lazy

Required Methods

Performs cast to integer.

Implementors