[−][src]Struct goblin::mach::load_command::EncryptionInfoCommand32
The encryption_info_command contains the file offset and size of an of an encrypted segment.
Fields
cmd: u32
LC_ENCRYPTION_INFO
cmdsize: u32
sizeof(struct encryption_info_command)
cryptoff: u32
file offset of encrypted range
cryptsize: u32
file size of encrypted range
cryptid: u32
which enryption system, 0 means not-encrypted yet
Trait Implementations
impl Copy for EncryptionInfoCommand32
[src]
impl Clone for EncryptionInfoCommand32
[src]
fn clone(&self) -> EncryptionInfoCommand32
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for EncryptionInfoCommand32
[src]
impl FromCtx<Endian, [u8]> for EncryptionInfoCommand32
[src]
impl<'a> TryFromCtx<'a, Endian, [u8]> 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<'a> IntoCtx<Endian, [u8]> for &'a EncryptionInfoCommand32
[src]
impl IntoCtx<Endian, [u8]> for EncryptionInfoCommand32
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a 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 TryIntoCtx<Endian, [u8]> 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 SizeWith<Endian> for EncryptionInfoCommand32
[src]
Auto Trait Implementations
impl Send for EncryptionInfoCommand32
impl Sync for EncryptionInfoCommand32
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,