use std::io::{Error, ErrorKind}; // errors can be created from strings let ... print_os_error(&Error::last_os_error()); // Will print "Not an OS error".
確定! 回上一頁