Struct sgx_tstd::char::DecodeUtf16Error 1.9.0[−][src]
pub struct DecodeUtf16Error { /* fields omitted */ }
An error that can be returned when decoding UTF-16 code points.
Methods
impl DecodeUtf16Error
[src]
impl DecodeUtf16Error
pub fn unpaired_surrogate(&self) -> u16
[src]
pub fn unpaired_surrogate(&self) -> u16
Returns the unpaired surrogate which caused this error.
Trait Implementations
impl Clone for DecodeUtf16Error
[src]
impl Clone for DecodeUtf16Error
fn clone(&self) -> DecodeUtf16Error
[src]
fn clone(&self) -> DecodeUtf16Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for DecodeUtf16Error
[src]
impl Eq for DecodeUtf16Error
impl Debug for DecodeUtf16Error
[src]
impl Debug for DecodeUtf16Error
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error
[src]
impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error
fn eq(&self, other: &DecodeUtf16Error) -> bool
[src]
fn eq(&self, other: &DecodeUtf16Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DecodeUtf16Error) -> bool
[src]
fn ne(&self, other: &DecodeUtf16Error) -> bool
This method tests for !=
.
impl Display for DecodeUtf16Error
[src]
impl Display for DecodeUtf16Error
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for DecodeUtf16Error
[src]
impl Error for DecodeUtf16Error
Auto Trait Implementations
impl Send for DecodeUtf16Error
impl Send for DecodeUtf16Error
impl Sync for DecodeUtf16Error
impl Sync for DecodeUtf16Error