W3cubDocs

/Rust

Struct std::ffi::IntoStringError

pub struct IntoStringError { /* fields omitted */ }

An error returned from CString::into_string to indicate that a UTF-8 error was encountered during the conversion.

Methods

impl IntoStringError [src]

Consumes this error, returning original CString which generated the error.

Access the underlying UTF-8 error that was the cause of this error.

Trait Implementations

impl Clone for IntoStringError [src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for IntoStringError [src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for IntoStringError [src]

impl Debug for IntoStringError [src]

Formats the value using the given formatter.

impl Error for IntoStringError [src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for IntoStringError [src]

Formats the value using the given formatter.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/ffi/struct.IntoStringError.html