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 std::str::Utf8Error {
    fn index(&self) -> Option<usize> {
        self.error_len()
    }
}

impl MissingNulTerminatorInner for std::ffi::FromBytesWithNulError {}