Struct wasmer_types::PageCountOutOfRange
source · pub struct PageCountOutOfRange;
Expand description
The only error that can happen when converting Bytes
to Pages
Trait Implementations§
source§impl Clone for PageCountOutOfRange
impl Clone for PageCountOutOfRange
source§fn clone(&self) -> PageCountOutOfRange
fn clone(&self) -> PageCountOutOfRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PageCountOutOfRange
impl Debug for PageCountOutOfRange
source§impl Display for PageCountOutOfRange
impl Display for PageCountOutOfRange
source§impl Error for PageCountOutOfRange
impl Error for PageCountOutOfRange
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for PageCountOutOfRange
impl PartialEq for PageCountOutOfRange
impl Copy for PageCountOutOfRange
impl Eq for PageCountOutOfRange
impl StructuralPartialEq for PageCountOutOfRange
Auto Trait Implementations§
impl Freeze for PageCountOutOfRange
impl RefUnwindSafe for PageCountOutOfRange
impl Send for PageCountOutOfRange
impl Sync for PageCountOutOfRange
impl Unpin for PageCountOutOfRange
impl UnwindSafe for PageCountOutOfRange
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.