Struct wasmer_wasi::types::io::__wasi_ciovec_t
source · pub struct __wasi_ciovec_t<M>where
M: MemorySize,{
pub buf: <M as MemorySize>::Offset,
pub buf_len: <M as MemorySize>::Offset,
}
Fields§
§buf: <M as MemorySize>::Offset
§buf_len: <M as MemorySize>::Offset
Trait Implementations§
source§impl<M> Clone for __wasi_ciovec_t<M>where
M: Clone + MemorySize,
<M as MemorySize>::Offset: Clone,
impl<M> Clone for __wasi_ciovec_t<M>where
M: Clone + MemorySize,
<M as MemorySize>::Offset: Clone,
source§fn clone(&self) -> __wasi_ciovec_t<M>
fn clone(&self) -> __wasi_ciovec_t<M>
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<M> Debug for __wasi_ciovec_t<M>where
M: Debug + MemorySize,
<M as MemorySize>::Offset: Debug,
impl<M> Debug for __wasi_ciovec_t<M>where
M: Debug + MemorySize,
<M as MemorySize>::Offset: Debug,
source§impl<M> PartialEq<__wasi_ciovec_t<M>> for __wasi_ciovec_t<M>where
M: PartialEq<M> + MemorySize,
<M as MemorySize>::Offset: PartialEq<<M as MemorySize>::Offset>,
impl<M> PartialEq<__wasi_ciovec_t<M>> for __wasi_ciovec_t<M>where
M: PartialEq<M> + MemorySize,
<M as MemorySize>::Offset: PartialEq<<M as MemorySize>::Offset>,
source§fn eq(&self, other: &__wasi_ciovec_t<M>) -> bool
fn eq(&self, other: &__wasi_ciovec_t<M>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<M> ValueType for __wasi_ciovec_t<M>where
M: MemorySize,
impl<M> ValueType for __wasi_ciovec_t<M>where
M: MemorySize,
source§fn zero_padding_bytes(&self, _bytes: &mut [MaybeUninit<u8>])
fn zero_padding_bytes(&self, _bytes: &mut [MaybeUninit<u8>])
This method is passed a byte slice which contains the byte
representation of
self
. It must zero out any bytes which are
uninitialized (e.g. padding bytes).impl<M> Copy for __wasi_ciovec_t<M>where
M: Copy + MemorySize,
<M as MemorySize>::Offset: Copy,
impl<M> Eq for __wasi_ciovec_t<M>where
M: Eq + MemorySize,
<M as MemorySize>::Offset: Eq,
impl<M> StructuralEq for __wasi_ciovec_t<M>where
M: MemorySize,
impl<M> StructuralPartialEq for __wasi_ciovec_t<M>where
M: MemorySize,
Auto Trait Implementations§
impl<M> RefUnwindSafe for __wasi_ciovec_t<M>where
<M as MemorySize>::Offset: RefUnwindSafe,
impl<M> Send for __wasi_ciovec_t<M>where
<M as MemorySize>::Offset: Send,
impl<M> Sync for __wasi_ciovec_t<M>where
<M as MemorySize>::Offset: Sync,
impl<M> Unpin for __wasi_ciovec_t<M>where
<M as MemorySize>::Offset: Unpin,
impl<M> UnwindSafe for __wasi_ciovec_t<M>where
<M as MemorySize>::Offset: UnwindSafe,
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§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.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Upcastable for Twhere
T: Any + Debug + 'static,
impl<T> Upcastable for Twhere
T: Any + Debug + 'static,
§impl<T> Upcastable for Twhere
T: Any + Send + Sync + 'static,
impl<T> Upcastable for Twhere
T: Any + Send + Sync + 'static,
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref