Struct locutus_runtime::prelude::ComponentInterfaceResult
source · pub struct ComponentInterfaceResult { /* private fields */ }Implementations§
source§impl ComponentInterfaceResult
impl ComponentInterfaceResult
pub unsafe fn from_raw(ptr: i64, mem: &WasmLinearMem) -> ComponentInterfaceResult
pub fn into_raw(self) -> i64
pub unsafe fn unwrap(
self,
mem: WasmLinearMem
) -> Result<Vec<OutboundComponentMsg, Global>, ComponentError>
Trait Implementations§
source§impl Clone for ComponentInterfaceResult
impl Clone for ComponentInterfaceResult
source§fn clone(&self) -> ComponentInterfaceResult
fn clone(&self) -> ComponentInterfaceResult
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 ComponentInterfaceResult
impl Debug for ComponentInterfaceResult
source§impl From<Result<Vec<OutboundComponentMsg, Global>, ComponentError>> for ComponentInterfaceResult
impl From<Result<Vec<OutboundComponentMsg, Global>, ComponentError>> for ComponentInterfaceResult
source§fn from(
value: Result<Vec<OutboundComponentMsg, Global>, ComponentError>
) -> ComponentInterfaceResult
fn from(
value: Result<Vec<OutboundComponentMsg, Global>, ComponentError>
) -> ComponentInterfaceResult
Converts to this type from the input type.
impl Copy for ComponentInterfaceResult
Auto Trait Implementations§
impl RefUnwindSafe for ComponentInterfaceResult
impl Send for ComponentInterfaceResult
impl Sync for ComponentInterfaceResult
impl Unpin for ComponentInterfaceResult
impl UnwindSafe for ComponentInterfaceResult
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<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> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
§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