netcorehost 0.20.1

A Rust library for hosting the .NET Core runtime.
Documentation
1
2
3
4
5
6
7
8
9
use crate::pdcstring::{MissingNulTerminatorInner, ToStringErrorInner};

impl ToStringErrorInner for widestring::error::Utf16Error {
    fn index(&self) -> Option<usize> {
        Some(self.index())
    }
}

impl MissingNulTerminatorInner for widestring::error::MissingNulTerminator {}