Enum goblin::container::Endian
[−]
[src]
pub enum Endian { Little, Big, }
The endianness (byte order) of a stream of bytes
Variants
Little
Big
Methods
impl Endian
[src]
Trait Implementations
impl TryIntoCtx<Endian, [u8]> for u8 where
u8: IntoCtx<Endian, [u8]>,
[src]
u8: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<u8 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<u8 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for f64 where
f64: IntoCtx<Endian, [u8]>,
[src]
f64: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<f64 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<f64 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for u32 where
u32: IntoCtx<Endian, [u8]>,
[src]
u32: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<u32 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<u32 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for f32 where
f32: IntoCtx<Endian, [u8]>,
[src]
f32: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<f32 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<f32 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for u64 where
u64: IntoCtx<Endian, [u8]>,
[src]
u64: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<u64 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<u64 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for i64 where
i64: IntoCtx<Endian, [u8]>,
[src]
i64: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<i64 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<i64 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for i16 where
i16: IntoCtx<Endian, [u8]>,
[src]
i16: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<i16 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<i16 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for usize where
usize: IntoCtx<Endian, [u8]>,
[src]
usize: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<usize as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<usize as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for i8 where
i8: IntoCtx<Endian, [u8]>,
[src]
i8: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<i8 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<i8 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for i32 where
i32: IntoCtx<Endian, [u8]>,
[src]
i32: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<i32 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<i32 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl TryIntoCtx<Endian, [u8]> for u16 where
u16: IntoCtx<Endian, [u8]>,
[src]
u16: IntoCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
le: Endian
) -> Result<<u16 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
[src]
self,
dst: &mut [u8],
le: Endian
) -> Result<<u16 as TryIntoCtx<Endian, [u8]>>::Size, Error<usize>>
impl<'a> TryFromCtx<'a, Endian, [u8]> for i64 where
i64: FromCtx<Endian, [u8]>,
[src]
i64: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(i64, <i64 as TryFromCtx<'a, Endian, [u8]>>::Size), <i64 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(i64, <i64 as TryFromCtx<'a, Endian, [u8]>>::Size), <i64 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for i8 where
i8: FromCtx<Endian, [u8]>,
[src]
i8: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(i8, <i8 as TryFromCtx<'a, Endian, [u8]>>::Size), <i8 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(i8, <i8 as TryFromCtx<'a, Endian, [u8]>>::Size), <i8 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a, T> TryFromCtx<'a, Endian, T> for i64 where
T: AsRef<[u8]>,
i64: FromCtx<Endian, T>,
[src]
T: AsRef<[u8]>,
i64: FromCtx<Endian, T>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(i64, <i64 as TryFromCtx<'a, Endian, T>>::Size), <i64 as TryFromCtx<'a, Endian, T>>::Error>
[src]
src: &'a T,
le: Endian
) -> Result<(i64, <i64 as TryFromCtx<'a, Endian, T>>::Size), <i64 as TryFromCtx<'a, Endian, T>>::Error>
impl<'a, T> TryFromCtx<'a, Endian, T> for i8 where
T: AsRef<[u8]>,
i8: FromCtx<Endian, T>,
[src]
T: AsRef<[u8]>,
i8: FromCtx<Endian, T>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(i8, <i8 as TryFromCtx<'a, Endian, T>>::Size), <i8 as TryFromCtx<'a, Endian, T>>::Error>
[src]
src: &'a T,
le: Endian
) -> Result<(i8, <i8 as TryFromCtx<'a, Endian, T>>::Size), <i8 as TryFromCtx<'a, Endian, T>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for i32 where
i32: FromCtx<Endian, [u8]>,
[src]
i32: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(i32, <i32 as TryFromCtx<'a, Endian, [u8]>>::Size), <i32 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(i32, <i32 as TryFromCtx<'a, Endian, [u8]>>::Size), <i32 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for f32 where
f32: FromCtx<Endian, [u8]>,
[src]
f32: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(f32, <f32 as TryFromCtx<'a, Endian, [u8]>>::Size), <f32 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(f32, <f32 as TryFromCtx<'a, Endian, [u8]>>::Size), <f32 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a, T> TryFromCtx<'a, Endian, T> for u32 where
T: AsRef<[u8]>,
u32: FromCtx<Endian, T>,
[src]
T: AsRef<[u8]>,
u32: FromCtx<Endian, T>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(u32, <u32 as TryFromCtx<'a, Endian, T>>::Size), <u32 as TryFromCtx<'a, Endian, T>>::Error>
[src]
src: &'a T,
le: Endian
) -> Result<(u32, <u32 as TryFromCtx<'a, Endian, T>>::Size), <u32 as TryFromCtx<'a, Endian, T>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for u64 where
u64: FromCtx<Endian, [u8]>,
[src]
u64: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(u64, <u64 as TryFromCtx<'a, Endian, [u8]>>::Size), <u64 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(u64, <u64 as TryFromCtx<'a, Endian, [u8]>>::Size), <u64 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for u16 where
u16: FromCtx<Endian, [u8]>,
[src]
u16: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(u16, <u16 as TryFromCtx<'a, Endian, [u8]>>::Size), <u16 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(u16, <u16 as TryFromCtx<'a, Endian, [u8]>>::Size), <u16 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a, T> TryFromCtx<'a, Endian, T> for u64 where
T: AsRef<[u8]>,
u64: FromCtx<Endian, T>,
[src]
T: AsRef<[u8]>,
u64: FromCtx<Endian, T>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(u64, <u64 as TryFromCtx<'a, Endian, T>>::Size), <u64 as TryFromCtx<'a, Endian, T>>::Error>
[src]
src: &'a T,
le: Endian
) -> Result<(u64, <u64 as TryFromCtx<'a, Endian, T>>::Size), <u64 as TryFromCtx<'a, Endian, T>>::Error>
impl<'a, T> TryFromCtx<'a, Endian, T> for u16 where
T: AsRef<[u8]>,
u16: FromCtx<Endian, T>,
[src]
T: AsRef<[u8]>,
u16: FromCtx<Endian, T>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(u16, <u16 as TryFromCtx<'a, Endian, T>>::Size), <u16 as TryFromCtx<'a, Endian, T>>::Error>
[src]
src: &'a T,
le: Endian
) -> Result<(u16, <u16 as TryFromCtx<'a, Endian, T>>::Size), <u16 as TryFromCtx<'a, Endian, T>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for i16 where
i16: FromCtx<Endian, [u8]>,
[src]
i16: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(i16, <i16 as TryFromCtx<'a, Endian, [u8]>>::Size), <i16 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(i16, <i16 as TryFromCtx<'a, Endian, [u8]>>::Size), <i16 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for u32 where
u32: FromCtx<Endian, [u8]>,
[src]
u32: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(u32, <u32 as TryFromCtx<'a, Endian, [u8]>>::Size), <u32 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(u32, <u32 as TryFromCtx<'a, Endian, [u8]>>::Size), <u32 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a, T> TryFromCtx<'a, Endian, T> for i16 where
T: AsRef<[u8]>,
i16: FromCtx<Endian, T>,
[src]
T: AsRef<[u8]>,
i16: FromCtx<Endian, T>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(i16, <i16 as TryFromCtx<'a, Endian, T>>::Size), <i16 as TryFromCtx<'a, Endian, T>>::Error>
[src]
src: &'a T,
le: Endian
) -> Result<(i16, <i16 as TryFromCtx<'a, Endian, T>>::Size), <i16 as TryFromCtx<'a, Endian, T>>::Error>
impl<'a, T> TryFromCtx<'a, Endian, T> for i32 where
T: AsRef<[u8]>,
i32: FromCtx<Endian, T>,
[src]
T: AsRef<[u8]>,
i32: FromCtx<Endian, T>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(i32, <i32 as TryFromCtx<'a, Endian, T>>::Size), <i32 as TryFromCtx<'a, Endian, T>>::Error>
[src]
src: &'a T,
le: Endian
) -> Result<(i32, <i32 as TryFromCtx<'a, Endian, T>>::Size), <i32 as TryFromCtx<'a, Endian, T>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for u8 where
u8: FromCtx<Endian, [u8]>,
[src]
u8: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(u8, <u8 as TryFromCtx<'a, Endian, [u8]>>::Size), <u8 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(u8, <u8 as TryFromCtx<'a, Endian, [u8]>>::Size), <u8 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for usize where
usize: FromCtx<Endian, [u8]>,
[src]
usize: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(usize, <usize as TryFromCtx<'a, Endian, [u8]>>::Size), <usize as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(usize, <usize as TryFromCtx<'a, Endian, [u8]>>::Size), <usize as TryFromCtx<'a, Endian, [u8]>>::Error>
impl<'a, T> TryFromCtx<'a, Endian, T> for u8 where
T: AsRef<[u8]>,
u8: FromCtx<Endian, T>,
[src]
T: AsRef<[u8]>,
u8: FromCtx<Endian, T>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(u8, <u8 as TryFromCtx<'a, Endian, T>>::Size), <u8 as TryFromCtx<'a, Endian, T>>::Error>
[src]
src: &'a T,
le: Endian
) -> Result<(u8, <u8 as TryFromCtx<'a, Endian, T>>::Size), <u8 as TryFromCtx<'a, Endian, T>>::Error>
impl<'a> TryFromCtx<'a, Endian, [u8]> for f64 where
f64: FromCtx<Endian, [u8]>,
[src]
f64: FromCtx<Endian, [u8]>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(f64, <f64 as TryFromCtx<'a, Endian, [u8]>>::Size), <f64 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
le: Endian
) -> Result<(f64, <f64 as TryFromCtx<'a, Endian, [u8]>>::Size), <f64 as TryFromCtx<'a, Endian, [u8]>>::Error>
impl SizeWith<Endian> for f64
[src]
impl SizeWith<Endian> for i64
[src]
impl SizeWith<Endian> for u16
[src]
impl SizeWith<Endian> for isize
[src]
impl SizeWith<Endian> for i8
[src]
impl SizeWith<Endian> for i32
[src]
impl SizeWith<Endian> for usize
[src]
impl SizeWith<Endian> for i16
[src]
impl SizeWith<Endian> for u64
[src]
impl SizeWith<Endian> for u32
[src]
impl SizeWith<Endian> for f32
[src]
impl SizeWith<Endian> for u8
[src]
impl Copy for Endian
[src]
impl IntoCtx<Endian, [u8]> for i16
[src]
impl IntoCtx<Endian, [u8]> for i8
[src]
impl IntoCtx<Endian, [u8]> for u16
[src]
impl IntoCtx<Endian, [u8]> for f64
[src]
impl IntoCtx<Endian, [u8]> for i32
[src]
impl IntoCtx<Endian, [u8]> for usize
[src]
impl IntoCtx<Endian, [u8]> for f32
[src]
impl IntoCtx<Endian, [u8]> for u64
[src]
impl IntoCtx<Endian, [u8]> for i64
[src]
impl IntoCtx<Endian, [u8]> for u32
[src]
impl IntoCtx<Endian, [u8]> for u8
[src]
impl Eq for Endian
[src]
impl PartialEq<Endian> for Endian
[src]
fn eq(&self, __arg_0: &Endian) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<'a> FromCtx<Endian, [u8]> for i32
[src]
impl<'a, T> FromCtx<Endian, T> for u16 where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl<'a, T> FromCtx<Endian, T> for u8 where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl<'a> FromCtx<Endian, [u8]> for i8
[src]
impl<'a, T> FromCtx<Endian, T> for i64 where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl<'a> FromCtx<Endian, [u8]> for u64
[src]
impl<'a> FromCtx<Endian, [u8]> for f64
[src]
impl<'a, T> FromCtx<Endian, T> for i8 where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl<'a> FromCtx<Endian, [u8]> for u16
[src]
impl<'a, T> FromCtx<Endian, T> for u64 where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl<'a> FromCtx<Endian, [u8]> for u8
[src]
impl<'a> FromCtx<Endian, [u8]> for f32
[src]
impl<'a, T> FromCtx<Endian, T> for u32 where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl<'a, T> FromCtx<Endian, T> for i16 where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl<'a> FromCtx<Endian, [u8]> for u32
[src]
impl<'a> FromCtx<Endian, [u8]> for i64
[src]
impl<'a, T> FromCtx<Endian, T> for i32 where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl FromCtx<Endian, [u8]> for usize
[src]
impl<'a> FromCtx<Endian, [u8]> for i16
[src]
impl From<bool> for Endian
[src]
impl Clone for Endian
[src]
fn clone(&self) -> Endian
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Endian
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Default for Endian
[src]
impl From<Endian> for Ctx
[src]
impl<'a> TryFromCtx<'a, Endian> for Header
[src]
type Error = Error
type Size = usize
fn try_from_ctx(
bytes: &'a [u8],
_: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
bytes: &'a [u8],
_: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Header
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
bytes: &mut [u8],
_endianness: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
bytes: &mut [u8],
_endianness: Endian
) -> Result<Self::Size, Self::Error>
a Pwrite impl for Header: note we use the endianness value in the header, and not a parameter
impl<'a> TryFromCtx<'a, Endian> for Header
[src]
type Error = Error
type Size = usize
fn try_from_ctx(
bytes: &'a [u8],
_: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
bytes: &'a [u8],
_: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Header
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
bytes: &mut [u8],
_endianness: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
bytes: &mut [u8],
_endianness: Endian
) -> Result<Self::Size, Self::Error>
a Pwrite impl for Header: note we use the endianness value in the header, and not a parameter
impl<'a> TryFromCtx<'a, Endian> for Header
[src]
type Error = Error
type Size = usize
fn try_from_ctx(bytes: &'a [u8], _ctx: Endian) -> Result<(Self, Self::Size)>
[src]
impl TryIntoCtx<Endian> for Header
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
bytes: &mut [u8],
_ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
bytes: &mut [u8],
_ctx: Endian
) -> Result<Self::Size, Self::Error>
impl<'a> TryFromCtx<'a, Endian> for ProgramHeader where
ProgramHeader: 'a,
[src]
ProgramHeader: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for ProgramHeader
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for ProgramHeader
[src]
impl<'a> TryFromCtx<'a, Endian> for ProgramHeader where
ProgramHeader: 'a,
[src]
ProgramHeader: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for ProgramHeader
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for ProgramHeader
[src]
impl<'a> TryFromCtx<'a, Endian> for SectionHeader where
SectionHeader: 'a,
[src]
SectionHeader: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SectionHeader
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for SectionHeader
[src]
impl<'a> TryFromCtx<'a, Endian> for SectionHeader where
SectionHeader: 'a,
[src]
SectionHeader: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SectionHeader
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for SectionHeader
[src]
impl<'a> TryFromCtx<'a, Endian> for CompressionHeader where
CompressionHeader: 'a,
[src]
CompressionHeader: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for CompressionHeader
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for CompressionHeader
[src]
impl<'a> TryFromCtx<'a, Endian> for CompressionHeader where
CompressionHeader: 'a,
[src]
CompressionHeader: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for CompressionHeader
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for CompressionHeader
[src]
impl<'a> TryFromCtx<'a, Endian> for Sym where
Sym: 'a,
[src]
Sym: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Sym
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Sym
[src]
impl<'a> TryFromCtx<'a, Endian> for Sym where
Sym: 'a,
[src]
Sym: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Sym
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Sym
[src]
impl<'a> TryFromCtx<'a, Endian> for Dyn where
Dyn: 'a,
[src]
Dyn: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Dyn
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Dyn
[src]
impl<'a> TryFromCtx<'a, Endian> for Dyn where
Dyn: 'a,
[src]
Dyn: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Dyn
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Dyn
[src]
impl<'a> TryFromCtx<'a, Endian> for Rela where
Rela: 'a,
[src]
Rela: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Rela
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Rela
[src]
impl<'a> TryFromCtx<'a, Endian> for Rel where
Rel: 'a,
[src]
Rel: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Rel
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Rel
[src]
impl<'a> TryFromCtx<'a, Endian> for Rela where
Rela: 'a,
[src]
Rela: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Rela
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Rela
[src]
impl<'a> TryFromCtx<'a, Endian> for Rel where
Rel: 'a,
[src]
Rel: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Rel
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Rel
[src]
impl<'a> TryFromCtx<'a, Endian> for Nhdr32 where
Nhdr32: 'a,
[src]
Nhdr32: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Nhdr32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for Nhdr32
[src]
impl IntoCtx<Endian> for Nhdr32
[src]
impl SizeWith<Endian> for Nhdr32
[src]
impl<'a> TryFromCtx<'a, Endian> for Nhdr64 where
Nhdr64: 'a,
[src]
Nhdr64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Nhdr64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for Nhdr64
[src]
impl IntoCtx<Endian> for Nhdr64
[src]
impl SizeWith<Endian> for Nhdr64
[src]
impl<'a> TryFromCtx<'a, Endian> for Header32 where
Header32: 'a,
[src]
Header32: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Header32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Header32
[src]
impl<'a> TryFromCtx<'a, Endian> for Header64 where
Header64: 'a,
[src]
Header64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Header64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Header64
[src]
impl<'a> TryFromCtx<'a, Endian> for FatHeader where
FatHeader: 'a,
[src]
FatHeader: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for FatHeader
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for FatHeader
[src]
impl<'a> TryFromCtx<'a, Endian> for FatArch where
FatArch: 'a,
[src]
FatArch: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for FatArch
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for FatArch
[src]
impl<'a> TryFromCtx<'a, Endian> for LoadCommandHeader where
LoadCommandHeader: 'a,
[src]
LoadCommandHeader: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for LoadCommandHeader
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for LoadCommandHeader
[src]
impl<'a> TryFromCtx<'a, Endian> for Section32 where
Section32: 'a,
[src]
Section32: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Section32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for Section32
[src]
impl IntoCtx<Endian> for Section32
[src]
impl SizeWith<Endian> for Section32
[src]
impl<'a> TryFromCtx<'a, Endian> for Section64 where
Section64: 'a,
[src]
Section64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Section64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for Section64
[src]
impl IntoCtx<Endian> for Section64
[src]
impl SizeWith<Endian> for Section64
[src]
impl<'a> TryFromCtx<'a, Endian> for SegmentCommand32 where
SegmentCommand32: 'a,
[src]
SegmentCommand32: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SegmentCommand32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for SegmentCommand32
[src]
impl IntoCtx<Endian> for SegmentCommand32
[src]
impl SizeWith<Endian> for SegmentCommand32
[src]
impl<'a> TryFromCtx<'a, Endian> for SegmentCommand64 where
SegmentCommand64: 'a,
[src]
SegmentCommand64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SegmentCommand64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for SegmentCommand64
[src]
impl IntoCtx<Endian> for SegmentCommand64
[src]
impl SizeWith<Endian> for SegmentCommand64
[src]
impl<'a> TryFromCtx<'a, Endian> for Fvmlib where
Fvmlib: 'a,
[src]
Fvmlib: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Fvmlib
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for Fvmlib
[src]
impl IntoCtx<Endian> for Fvmlib
[src]
impl SizeWith<Endian> for Fvmlib
[src]
impl<'a> TryFromCtx<'a, Endian> for FvmlibCommand where
FvmlibCommand: 'a,
[src]
FvmlibCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for FvmlibCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for FvmlibCommand
[src]
impl IntoCtx<Endian> for FvmlibCommand
[src]
impl SizeWith<Endian> for FvmlibCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for Dylib where
Dylib: 'a,
[src]
Dylib: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Dylib
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for Dylib
[src]
impl IntoCtx<Endian> for Dylib
[src]
impl SizeWith<Endian> for Dylib
[src]
impl<'a> TryFromCtx<'a, Endian> for DylibCommand where
DylibCommand: 'a,
[src]
DylibCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DylibCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for DylibCommand
[src]
impl IntoCtx<Endian> for DylibCommand
[src]
impl SizeWith<Endian> for DylibCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for SubFrameworkCommand where
SubFrameworkCommand: 'a,
[src]
SubFrameworkCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SubFrameworkCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for SubFrameworkCommand
[src]
impl IntoCtx<Endian> for SubFrameworkCommand
[src]
impl SizeWith<Endian> for SubFrameworkCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for SubClientCommand where
SubClientCommand: 'a,
[src]
SubClientCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SubClientCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for SubClientCommand
[src]
impl IntoCtx<Endian> for SubClientCommand
[src]
impl SizeWith<Endian> for SubClientCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for SubUmbrellaCommand where
SubUmbrellaCommand: 'a,
[src]
SubUmbrellaCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SubUmbrellaCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for SubUmbrellaCommand
[src]
impl IntoCtx<Endian> for SubUmbrellaCommand
[src]
impl SizeWith<Endian> for SubUmbrellaCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for SubLibraryCommand where
SubLibraryCommand: 'a,
[src]
SubLibraryCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SubLibraryCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for SubLibraryCommand
[src]
impl IntoCtx<Endian> for SubLibraryCommand
[src]
impl SizeWith<Endian> for SubLibraryCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for PreboundDylibCommand where
PreboundDylibCommand: 'a,
[src]
PreboundDylibCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for PreboundDylibCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for PreboundDylibCommand
[src]
impl IntoCtx<Endian> for PreboundDylibCommand
[src]
impl SizeWith<Endian> for PreboundDylibCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for DylinkerCommand where
DylinkerCommand: 'a,
[src]
DylinkerCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DylinkerCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for DylinkerCommand
[src]
impl IntoCtx<Endian> for DylinkerCommand
[src]
impl SizeWith<Endian> for DylinkerCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for ThreadCommand
[src]
type Error = Error
type Size = usize
fn try_from_ctx(bytes: &'a [u8], le: Endian) -> Result<(Self, Self::Size)>
[src]
impl<'a> TryFromCtx<'a, Endian> for RoutinesCommand32 where
RoutinesCommand32: 'a,
[src]
RoutinesCommand32: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for RoutinesCommand32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for RoutinesCommand32
[src]
impl IntoCtx<Endian> for RoutinesCommand32
[src]
impl SizeWith<Endian> for RoutinesCommand32
[src]
impl<'a> TryFromCtx<'a, Endian> for RoutinesCommand64 where
RoutinesCommand64: 'a,
[src]
RoutinesCommand64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for RoutinesCommand64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for RoutinesCommand64
[src]
impl IntoCtx<Endian> for RoutinesCommand64
[src]
impl SizeWith<Endian> for RoutinesCommand64
[src]
impl<'a> TryFromCtx<'a, Endian> for SymtabCommand where
SymtabCommand: 'a,
[src]
SymtabCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SymtabCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for SymtabCommand
[src]
impl IntoCtx<Endian> for SymtabCommand
[src]
impl SizeWith<Endian> for SymtabCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for DysymtabCommand where
DysymtabCommand: 'a,
[src]
DysymtabCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DysymtabCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for DysymtabCommand
[src]
impl IntoCtx<Endian> for DysymtabCommand
[src]
impl SizeWith<Endian> for DysymtabCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for DylibTableOfContents where
DylibTableOfContents: 'a,
[src]
DylibTableOfContents: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DylibTableOfContents
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for DylibTableOfContents
[src]
impl IntoCtx<Endian> for DylibTableOfContents
[src]
impl SizeWith<Endian> for DylibTableOfContents
[src]
impl<'a> TryFromCtx<'a, Endian> for DylibModule where
DylibModule: 'a,
[src]
DylibModule: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DylibModule
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for DylibModule
[src]
impl IntoCtx<Endian> for DylibModule
[src]
impl SizeWith<Endian> for DylibModule
[src]
impl<'a> TryFromCtx<'a, Endian> for DylibModule64 where
DylibModule64: 'a,
[src]
DylibModule64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DylibModule64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for DylibModule64
[src]
impl IntoCtx<Endian> for DylibModule64
[src]
impl SizeWith<Endian> for DylibModule64
[src]
impl<'a> TryFromCtx<'a, Endian> for DylibReference where
DylibReference: 'a,
[src]
DylibReference: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DylibReference
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for DylibReference
[src]
impl IntoCtx<Endian> for DylibReference
[src]
impl SizeWith<Endian> for DylibReference
[src]
impl<'a> TryFromCtx<'a, Endian> for TwolevelHintsCommand where
TwolevelHintsCommand: 'a,
[src]
TwolevelHintsCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for TwolevelHintsCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for TwolevelHintsCommand
[src]
impl IntoCtx<Endian> for TwolevelHintsCommand
[src]
impl SizeWith<Endian> for TwolevelHintsCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for TwolevelHint where
TwolevelHint: 'a,
[src]
TwolevelHint: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for TwolevelHint
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for TwolevelHint
[src]
impl IntoCtx<Endian> for TwolevelHint
[src]
impl SizeWith<Endian> for TwolevelHint
[src]
impl<'a> TryFromCtx<'a, Endian> for PrebindCksumCommand where
PrebindCksumCommand: 'a,
[src]
PrebindCksumCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for PrebindCksumCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for PrebindCksumCommand
[src]
impl IntoCtx<Endian> for PrebindCksumCommand
[src]
impl SizeWith<Endian> for PrebindCksumCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for UuidCommand where
UuidCommand: 'a,
[src]
UuidCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for UuidCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for UuidCommand
[src]
impl IntoCtx<Endian> for UuidCommand
[src]
impl SizeWith<Endian> for UuidCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for RpathCommand where
RpathCommand: 'a,
[src]
RpathCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for RpathCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for RpathCommand
[src]
impl IntoCtx<Endian> for RpathCommand
[src]
impl SizeWith<Endian> for RpathCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for LinkeditDataCommand where
LinkeditDataCommand: 'a,
[src]
LinkeditDataCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for LinkeditDataCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for LinkeditDataCommand
[src]
impl IntoCtx<Endian> for LinkeditDataCommand
[src]
impl SizeWith<Endian> for LinkeditDataCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for EncryptionInfoCommand32 where
EncryptionInfoCommand32: 'a,
[src]
EncryptionInfoCommand32: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for EncryptionInfoCommand32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for EncryptionInfoCommand32
[src]
impl IntoCtx<Endian> for EncryptionInfoCommand32
[src]
impl SizeWith<Endian> for EncryptionInfoCommand32
[src]
impl<'a> TryFromCtx<'a, Endian> for EncryptionInfoCommand64 where
EncryptionInfoCommand64: 'a,
[src]
EncryptionInfoCommand64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for EncryptionInfoCommand64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for EncryptionInfoCommand64
[src]
impl IntoCtx<Endian> for EncryptionInfoCommand64
[src]
impl SizeWith<Endian> for EncryptionInfoCommand64
[src]
impl<'a> TryFromCtx<'a, Endian> for VersionMinCommand where
VersionMinCommand: 'a,
[src]
VersionMinCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for VersionMinCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for VersionMinCommand
[src]
impl IntoCtx<Endian> for VersionMinCommand
[src]
impl SizeWith<Endian> for VersionMinCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for DyldInfoCommand where
DyldInfoCommand: 'a,
[src]
DyldInfoCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DyldInfoCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for DyldInfoCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for LinkerOptionCommand where
LinkerOptionCommand: 'a,
[src]
LinkerOptionCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for LinkerOptionCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for LinkerOptionCommand
[src]
impl IntoCtx<Endian> for LinkerOptionCommand
[src]
impl SizeWith<Endian> for LinkerOptionCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for SymsegCommand where
SymsegCommand: 'a,
[src]
SymsegCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SymsegCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for SymsegCommand
[src]
impl IntoCtx<Endian> for SymsegCommand
[src]
impl SizeWith<Endian> for SymsegCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for IdentCommand where
IdentCommand: 'a,
[src]
IdentCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for IdentCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for IdentCommand
[src]
impl IntoCtx<Endian> for IdentCommand
[src]
impl SizeWith<Endian> for IdentCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for FvmfileCommand where
FvmfileCommand: 'a,
[src]
FvmfileCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for FvmfileCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for FvmfileCommand
[src]
impl IntoCtx<Endian> for FvmfileCommand
[src]
impl SizeWith<Endian> for FvmfileCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for EntryPointCommand where
EntryPointCommand: 'a,
[src]
EntryPointCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for EntryPointCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for EntryPointCommand
[src]
impl IntoCtx<Endian> for EntryPointCommand
[src]
impl SizeWith<Endian> for EntryPointCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for SourceVersionCommand where
SourceVersionCommand: 'a,
[src]
SourceVersionCommand: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for SourceVersionCommand
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for SourceVersionCommand
[src]
impl IntoCtx<Endian> for SourceVersionCommand
[src]
impl SizeWith<Endian> for SourceVersionCommand
[src]
impl<'a> TryFromCtx<'a, Endian> for DataInCodeEntry where
DataInCodeEntry: 'a,
[src]
DataInCodeEntry: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DataInCodeEntry
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl FromCtx<Endian> for DataInCodeEntry
[src]
impl IntoCtx<Endian> for DataInCodeEntry
[src]
impl SizeWith<Endian> for DataInCodeEntry
[src]
impl<'a> TryFromCtx<'a, Endian> for CommandVariant
[src]
type Error = Error
type Size = usize
fn try_from_ctx(bytes: &'a [u8], le: Endian) -> Result<(Self, Self::Size)>
[src]
impl<'a> TryFromCtx<'a, Endian> for Nlist32 where
Nlist32: 'a,
[src]
Nlist32: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Nlist32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Nlist32
[src]
impl FromCtx<Endian> for Nlist32
[src]
impl IntoCtx<Endian> for Nlist32
[src]
impl<'a> TryFromCtx<'a, Endian> for Nlist64 where
Nlist64: 'a,
[src]
Nlist64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Nlist64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for Nlist64
[src]
impl FromCtx<Endian> for Nlist64
[src]
impl IntoCtx<Endian> for Nlist64
[src]
impl<'a> TryFromCtx<'a, Endian> for RelocationInfo where
RelocationInfo: 'a,
[src]
RelocationInfo: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for RelocationInfo
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl IntoCtx<Endian> for RelocationInfo
[src]
impl SizeWith<Endian> for RelocationInfo
[src]
impl FromCtx<Endian> for RelocationInfo
[src]
impl<'a> TryFromCtx<'a, Endian> for StandardFields32 where
StandardFields32: 'a,
[src]
StandardFields32: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for StandardFields32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for StandardFields32
[src]
impl<'a> TryFromCtx<'a, Endian> for StandardFields64 where
StandardFields64: 'a,
[src]
StandardFields64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for StandardFields64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for StandardFields64
[src]
impl<'a> TryFromCtx<'a, Endian> for WindowsFields32 where
WindowsFields32: 'a,
[src]
WindowsFields32: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for WindowsFields32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for WindowsFields32
[src]
impl<'a> TryFromCtx<'a, Endian> for WindowsFields64 where
WindowsFields64: 'a,
[src]
WindowsFields64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for WindowsFields64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for WindowsFields64
[src]
impl<'a> TryFromCtx<'a, Endian> for OptionalHeader
[src]
type Error = Error
type Size = usize
fn try_from_ctx(bytes: &'a [u8], _: Endian) -> Result<(Self, Self::Size)>
[src]
impl<'a> TryFromCtx<'a, Endian> for DataDirectory where
DataDirectory: 'a,
[src]
DataDirectory: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for DataDirectory
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for DataDirectory
[src]
impl<'a> TryFromCtx<'a, Endian> for ExportDirectoryTable where
ExportDirectoryTable: 'a,
[src]
ExportDirectoryTable: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for ExportDirectoryTable
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl<'a> TryFromCtx<'a, Endian> for Reexport<'a>
[src]
type Error = Error
type Size = usize
fn try_from_ctx(
bytes: &'a [u8],
_ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
bytes: &'a [u8],
_ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> TryFromCtx<'a, Endian> for ImportDirectoryEntry where
ImportDirectoryEntry: 'a,
[src]
ImportDirectoryEntry: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for ImportDirectoryEntry
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for ImportDirectoryEntry
[src]
impl<'a> TryFromCtx<'a, Endian> for ImageDebugDirectory where
ImageDebugDirectory: 'a,
[src]
ImageDebugDirectory: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for ImageDebugDirectory
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
impl SizeWith<Endian> for ImageDebugDirectory
[src]
impl<'a> TryFromCtx<'a, Endian> for MemberHeader where
MemberHeader: 'a,
[src]
MemberHeader: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for MemberHeader
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>