Enum wasmtime_environ::component::Transcode
source · pub enum Transcode {
Copy(FixedEncoding),
Latin1ToUtf16,
Latin1ToUtf8,
Utf16ToCompactProbablyUtf16,
Utf16ToCompactUtf16,
Utf16ToLatin1,
Utf16ToUtf8,
Utf8ToCompactUtf16,
Utf8ToLatin1,
Utf8ToUtf16,
}
Expand description
Possible transcoding operations that must be provided by the host.
Note that each transcoding operation may have a unique signature depending on the precise operation.
Variants§
Copy(FixedEncoding)
Latin1ToUtf16
Latin1ToUtf8
Utf16ToCompactProbablyUtf16
Utf16ToCompactUtf16
Utf16ToLatin1
Utf16ToUtf8
Utf8ToCompactUtf16
Utf8ToLatin1
Utf8ToUtf16
Implementations§
Trait Implementations§
impl Copy for Transcode
impl Eq for Transcode
impl StructuralPartialEq for Transcode
Auto Trait Implementations§
impl Freeze for Transcode
impl RefUnwindSafe for Transcode
impl Send for Transcode
impl Sync for Transcode
impl Unpin for Transcode
impl UnwindSafe for Transcode
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
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<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.