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
Implementations on Foreign Types
impl<T: ToBytesCast> FromBytesCast<T> for Vec<u8>[src]
impl<T: ToBytesCast> FromBytesCast<T> for Vec<u8>impl<T: ToBytesCast> FromBytesCast<T> for [u8][src]
impl<T: ToBytesCast> FromBytesCast<T> for [u8]impl<'a, T: ToBytesCast> FromBytesCast<T> for &'a [u8][src]
impl<'a, T: ToBytesCast> FromBytesCast<T> for &'a [u8]