Trait Read

Source
pub trait Read: Sized + NumBytes {
    // Required method
    fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>;

    // Provided method
    fn unpack<T: AsRef<[u8]>>(bytes: T) -> Result<Self, ReadError> { ... }
}
Expand description

Read bytes.

Required Methods§

Source

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Read bytes.

§Errors

Will return Err if there was a problem reading the data.

Provided Methods§

Source

fn unpack<T: AsRef<[u8]>>(bytes: T) -> Result<Self, ReadError>

Deserializes a byte array into a data type.

§Errors

Will return Err if there was a problem reading the data.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Read for bool

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for char

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for f32

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for f64

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for i16

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for i32

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for i64

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for isize

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for u8

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for u16

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for u32

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for u64

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for usize

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for String

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for NonZeroI16

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for NonZeroI32

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for NonZeroI64

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for NonZeroIsize

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for NonZeroU8

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for NonZeroU16

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for NonZeroU32

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for NonZeroU64

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl Read for NonZeroUsize

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read> Read for (A,)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read> Read for (A, B)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read> Read for (A, B, C)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read> Read for (A, B, C, D)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read> Read for (A, B, C, D, E)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read> Read for (A, B, C, D, E, F)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read> Read for (A, B, C, D, E, F, G)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read> Read for (A, B, C, D, E, F, G, H)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read, I: Read> Read for (A, B, C, D, E, F, G, H, I)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read, I: Read, J: Read> Read for (A, B, C, D, E, F, G, H, I, J)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read, I: Read, J: Read, K: Read> Read for (A, B, C, D, E, F, G, H, I, J, K)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read, I: Read, J: Read, K: Read, L: Read> Read for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read, I: Read, J: Read, K: Read, L: Read, M: Read> Read for (A, B, C, D, E, F, G, H, I, J, K, L, M)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read, I: Read, J: Read, K: Read, L: Read, M: Read, N: Read> Read for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read, I: Read, J: Read, K: Read, L: Read, M: Read, N: Read, O: Read> Read for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read, I: Read, J: Read, K: Read, L: Read, M: Read, N: Read, O: Read, P: Read> Read for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<A: Read, B: Read, C: Read, D: Read, E: Read, F: Read, G: Read, H: Read, I: Read, J: Read, K: Read, L: Read, M: Read, N: Read, O: Read, P: Read, Q: Read> Read for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for Option<T>
where T: Read,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 1]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 2]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 3]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 4]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 5]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 6]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 7]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 8]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 9]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 10]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 11]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 12]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 13]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 14]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 15]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 16]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 17]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 18]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 19]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 20]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 21]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 22]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 23]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 24]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 25]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 26]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 27]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 28]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 29]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 30]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 31]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 32]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 33]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 34]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 35]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 36]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 37]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 38]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 39]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 40]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 41]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 42]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 43]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 44]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 45]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 46]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 47]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 48]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 49]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 50]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 51]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 52]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 53]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 54]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 55]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 56]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 57]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 58]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 59]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 60]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 61]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 62]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 63]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 64]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 65]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 66]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 67]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 68]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 69]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 70]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 71]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 72]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 73]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 74]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 75]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 76]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 77]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 78]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 79]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 80]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 81]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 82]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 83]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 84]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 85]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 86]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 87]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 88]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 89]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 90]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 91]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 92]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 93]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 94]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 95]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 96]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 97]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 98]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 99]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for [T; 100]
where T: Read + Default + Copy,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for VecDeque<T>
where T: Read + Default + Clone,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for Vec<T>
where T: Read + Default + Clone,

Source§

fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>

Source§

impl<T> Read for PhantomData<T>

Source§

fn read(_bytes: &[u8], _pos: &mut usize) -> Result<Self, ReadError>

Implementors§