pub struct ValidatedActorVTable { /* private fields */ }Expand description
Host-side pointer to a validated ActorVTable.
Implementations§
Source§impl ValidatedActorVTable
impl ValidatedActorVTable
Sourcepub unsafe fn from_raw_unchecked(ptr: *const ActorVTable) -> Self
pub unsafe fn from_raw_unchecked(ptr: *const ActorVTable) -> Self
Wraps an actor vtable pointer that the caller already validated.
§Safety
ptr must be non-null, point at immutable process-lifetime storage,
and contain every required ActorVTable function slot.
Sourcepub fn as_ptr(self) -> *const ActorVTable
pub fn as_ptr(self) -> *const ActorVTable
Returns the raw vtable pointer for ABI calls.
Trait Implementations§
Source§impl Clone for ValidatedActorVTable
impl Clone for ValidatedActorVTable
Source§fn clone(&self) -> ValidatedActorVTable
fn clone(&self) -> ValidatedActorVTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValidatedActorVTable
Source§impl Debug for ValidatedActorVTable
impl Debug for ValidatedActorVTable
impl Eq for ValidatedActorVTable
Source§impl PartialEq for ValidatedActorVTable
impl PartialEq for ValidatedActorVTable
Source§fn eq(&self, other: &ValidatedActorVTable) -> bool
fn eq(&self, other: &ValidatedActorVTable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Send for ValidatedActorVTable
Available on crate feature
host only.SAFETY: validated vtables point at immutable process-lifetime storage.
impl StructuralPartialEq for ValidatedActorVTable
impl Sync for ValidatedActorVTable
Available on crate feature
host only.SAFETY: see Send.
Auto Trait Implementations§
impl Freeze for ValidatedActorVTable
impl RefUnwindSafe for ValidatedActorVTable
impl Unpin for ValidatedActorVTable
impl UnsafeUnpin for ValidatedActorVTable
impl UnwindSafe for ValidatedActorVTable
Blanket Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.