Struct Mmap
pub struct Mmap { pub(in ::backtrace_rs::symbolize::gimli::mmap) ptr: *mut c_void, pub(in ::backtrace_rs::symbolize::gimli::mmap) len: usize }
Fields
ptr: *mut c_voidlen: usize
Implementations
impl Mmap
unsafe fn map(file: &File, len: usize, offset: u64) -> Option<Mmap>
Trait Implementations
impl Deref for Mmap
type Target = [u8];fn deref(&self) -> &[u8]
impl Drop for Mmap
fn drop(&mut self)
Auto Trait Implementations
impl !Send for Mmap
impl !Sync for Mmap
impl Freeze for Mmap
impl RefUnwindSafe for Mmap
impl Unpin for Mmap
impl UnsafeUnpin for Mmap
impl UnwindSafe for Mmap
Blanket Implementations
impl<P, T> Receiver for Mmap
where
P: Deref<Target = T> + ?Sized,
T: ?Sized,
type Target = T;
impl<T> Any for Mmap
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Mmap
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Mmap
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Mmap
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for Mmap
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Mmap
impl<T, U> Into<U> for Mmap
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Mmap
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for Mmap
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>