rust_icu_sys

Enum UErrorCode

Source
#[repr(i32)]
pub enum UErrorCode {
Show 151 variants U_USING_FALLBACK_WARNING = -128, U_USING_DEFAULT_WARNING = -127, U_SAFECLONE_ALLOCATED_WARNING = -126, U_STATE_OLD_WARNING = -125, U_STRING_NOT_TERMINATED_WARNING = -124, U_SORT_KEY_TOO_SHORT_WARNING = -123, U_AMBIGUOUS_ALIAS_WARNING = -122, U_DIFFERENT_UCA_VERSION = -121, U_PLUGIN_CHANGED_LEVEL_WARNING = -120, U_ERROR_WARNING_LIMIT = -119, U_ZERO_ERROR = 0, U_ILLEGAL_ARGUMENT_ERROR = 1, U_MISSING_RESOURCE_ERROR = 2, U_INVALID_FORMAT_ERROR = 3, U_FILE_ACCESS_ERROR = 4, U_INTERNAL_PROGRAM_ERROR = 5, U_MESSAGE_PARSE_ERROR = 6, U_MEMORY_ALLOCATION_ERROR = 7, U_INDEX_OUTOFBOUNDS_ERROR = 8, U_PARSE_ERROR = 9, U_INVALID_CHAR_FOUND = 10, U_TRUNCATED_CHAR_FOUND = 11, U_ILLEGAL_CHAR_FOUND = 12, U_INVALID_TABLE_FORMAT = 13, U_INVALID_TABLE_FILE = 14, U_BUFFER_OVERFLOW_ERROR = 15, U_UNSUPPORTED_ERROR = 16, U_RESOURCE_TYPE_MISMATCH = 17, U_ILLEGAL_ESCAPE_SEQUENCE = 18, U_UNSUPPORTED_ESCAPE_SEQUENCE = 19, U_NO_SPACE_AVAILABLE = 20, U_CE_NOT_FOUND_ERROR = 21, U_PRIMARY_TOO_LONG_ERROR = 22, U_STATE_TOO_OLD_ERROR = 23, U_TOO_MANY_ALIASES_ERROR = 24, U_ENUM_OUT_OF_SYNC_ERROR = 25, U_INVARIANT_CONVERSION_ERROR = 26, U_INVALID_STATE_ERROR = 27, U_COLLATOR_VERSION_MISMATCH = 28, U_USELESS_COLLATOR_ERROR = 29, U_NO_WRITE_PERMISSION = 30, U_INPUT_TOO_LONG_ERROR = 31, U_STANDARD_ERROR_LIMIT = 32, U_BAD_VARIABLE_DEFINITION = 65_536, U_MALFORMED_RULE = 65_537, U_MALFORMED_SET = 65_538, U_MALFORMED_SYMBOL_REFERENCE = 65_539, U_MALFORMED_UNICODE_ESCAPE = 65_540, U_MALFORMED_VARIABLE_DEFINITION = 65_541, U_MALFORMED_VARIABLE_REFERENCE = 65_542, U_MISMATCHED_SEGMENT_DELIMITERS = 65_543, U_MISPLACED_ANCHOR_START = 65_544, U_MISPLACED_CURSOR_OFFSET = 65_545, U_MISPLACED_QUANTIFIER = 65_546, U_MISSING_OPERATOR = 65_547, U_MISSING_SEGMENT_CLOSE = 65_548, U_MULTIPLE_ANTE_CONTEXTS = 65_549, U_MULTIPLE_CURSORS = 65_550, U_MULTIPLE_POST_CONTEXTS = 65_551, U_TRAILING_BACKSLASH = 65_552, U_UNDEFINED_SEGMENT_REFERENCE = 65_553, U_UNDEFINED_VARIABLE = 65_554, U_UNQUOTED_SPECIAL = 65_555, U_UNTERMINATED_QUOTE = 65_556, U_RULE_MASK_ERROR = 65_557, U_MISPLACED_COMPOUND_FILTER = 65_558, U_MULTIPLE_COMPOUND_FILTERS = 65_559, U_INVALID_RBT_SYNTAX = 65_560, U_INVALID_PROPERTY_PATTERN = 65_561, U_MALFORMED_PRAGMA = 65_562, U_UNCLOSED_SEGMENT = 65_563, U_ILLEGAL_CHAR_IN_SEGMENT = 65_564, U_VARIABLE_RANGE_EXHAUSTED = 65_565, U_VARIABLE_RANGE_OVERLAP = 65_566, U_ILLEGAL_CHARACTER = 65_567, U_INTERNAL_TRANSLITERATOR_ERROR = 65_568, U_INVALID_ID = 65_569, U_INVALID_FUNCTION = 65_570, U_PARSE_ERROR_LIMIT = 65_571, U_UNEXPECTED_TOKEN = 65_792, U_MULTIPLE_DECIMAL_SEPARATORS = 65_793, U_MULTIPLE_EXPONENTIAL_SYMBOLS = 65_794, U_MALFORMED_EXPONENTIAL_PATTERN = 65_795, U_MULTIPLE_PERCENT_SYMBOLS = 65_796, U_MULTIPLE_PERMILL_SYMBOLS = 65_797, U_MULTIPLE_PAD_SPECIFIERS = 65_798, U_PATTERN_SYNTAX_ERROR = 65_799, U_ILLEGAL_PAD_POSITION = 65_800, U_UNMATCHED_BRACES = 65_801, U_UNSUPPORTED_PROPERTY = 65_802, U_UNSUPPORTED_ATTRIBUTE = 65_803, U_ARGUMENT_TYPE_MISMATCH = 65_804, U_DUPLICATE_KEYWORD = 65_805, U_UNDEFINED_KEYWORD = 65_806, U_DEFAULT_KEYWORD_MISSING = 65_807, U_DECIMAL_NUMBER_SYNTAX_ERROR = 65_808, U_FORMAT_INEXACT_ERROR = 65_809, U_NUMBER_ARG_OUTOFBOUNDS_ERROR = 65_810, U_NUMBER_SKELETON_SYNTAX_ERROR = 65_811, U_FMT_PARSE_ERROR_LIMIT = 65_812, U_BRK_INTERNAL_ERROR = 66_048, U_BRK_HEX_DIGITS_EXPECTED = 66_049, U_BRK_SEMICOLON_EXPECTED = 66_050, U_BRK_RULE_SYNTAX = 66_051, U_BRK_UNCLOSED_SET = 66_052, U_BRK_ASSIGN_ERROR = 66_053, U_BRK_VARIABLE_REDFINITION = 66_054, U_BRK_MISMATCHED_PAREN = 66_055, U_BRK_NEW_LINE_IN_QUOTED_STRING = 66_056, U_BRK_UNDEFINED_VARIABLE = 66_057, U_BRK_INIT_ERROR = 66_058, U_BRK_RULE_EMPTY_SET = 66_059, U_BRK_UNRECOGNIZED_OPTION = 66_060, U_BRK_MALFORMED_RULE_TAG = 66_061, U_BRK_ERROR_LIMIT = 66_062, U_REGEX_INTERNAL_ERROR = 66_304, U_REGEX_RULE_SYNTAX = 66_305, U_REGEX_INVALID_STATE = 66_306, U_REGEX_BAD_ESCAPE_SEQUENCE = 66_307, U_REGEX_PROPERTY_SYNTAX = 66_308, U_REGEX_UNIMPLEMENTED = 66_309, U_REGEX_MISMATCHED_PAREN = 66_310, U_REGEX_NUMBER_TOO_BIG = 66_311, U_REGEX_BAD_INTERVAL = 66_312, U_REGEX_MAX_LT_MIN = 66_313, U_REGEX_INVALID_BACK_REF = 66_314, U_REGEX_INVALID_FLAG = 66_315, U_REGEX_LOOK_BEHIND_LIMIT = 66_316, U_REGEX_SET_CONTAINS_STRING = 66_317, U_REGEX_OCTAL_TOO_BIG = 66_318, U_REGEX_MISSING_CLOSE_BRACKET = 66_319, U_REGEX_INVALID_RANGE = 66_320, U_REGEX_STACK_OVERFLOW = 66_321, U_REGEX_TIME_OUT = 66_322, U_REGEX_STOPPED_BY_CALLER = 66_323, U_REGEX_PATTERN_TOO_BIG = 66_324, U_REGEX_INVALID_CAPTURE_GROUP_NAME = 66_325, U_REGEX_ERROR_LIMIT = 66_326, U_IDNA_PROHIBITED_ERROR = 66_560, U_IDNA_UNASSIGNED_ERROR = 66_561, U_IDNA_CHECK_BIDI_ERROR = 66_562, U_IDNA_STD3_ASCII_RULES_ERROR = 66_563, U_IDNA_ACE_PREFIX_ERROR = 66_564, U_IDNA_VERIFICATION_ERROR = 66_565, U_IDNA_LABEL_TOO_LONG_ERROR = 66_566, U_IDNA_ZERO_LENGTH_LABEL_ERROR = 66_567, U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR = 66_568, U_IDNA_ERROR_LIMIT = 66_569, U_PLUGIN_ERROR_START = 66_816, U_PLUGIN_DIDNT_SET_LEVEL = 66_817, U_PLUGIN_ERROR_LIMIT = 66_818,
}

Variants§

§

U_USING_FALLBACK_WARNING = -128

§

U_USING_DEFAULT_WARNING = -127

§

U_SAFECLONE_ALLOCATED_WARNING = -126

§

U_STATE_OLD_WARNING = -125

§

U_STRING_NOT_TERMINATED_WARNING = -124

§

U_SORT_KEY_TOO_SHORT_WARNING = -123

§

U_AMBIGUOUS_ALIAS_WARNING = -122

§

U_DIFFERENT_UCA_VERSION = -121

§

U_PLUGIN_CHANGED_LEVEL_WARNING = -120

§

U_ERROR_WARNING_LIMIT = -119

§

U_ZERO_ERROR = 0

§

U_ILLEGAL_ARGUMENT_ERROR = 1

§

U_MISSING_RESOURCE_ERROR = 2

§

U_INVALID_FORMAT_ERROR = 3

§

U_FILE_ACCESS_ERROR = 4

§

U_INTERNAL_PROGRAM_ERROR = 5

§

U_MESSAGE_PARSE_ERROR = 6

§

U_MEMORY_ALLOCATION_ERROR = 7

§

U_INDEX_OUTOFBOUNDS_ERROR = 8

§

U_PARSE_ERROR = 9

§

U_INVALID_CHAR_FOUND = 10

§

U_TRUNCATED_CHAR_FOUND = 11

§

U_ILLEGAL_CHAR_FOUND = 12

§

U_INVALID_TABLE_FORMAT = 13

§

U_INVALID_TABLE_FILE = 14

§

U_BUFFER_OVERFLOW_ERROR = 15

§

U_UNSUPPORTED_ERROR = 16

§

U_RESOURCE_TYPE_MISMATCH = 17

§

U_ILLEGAL_ESCAPE_SEQUENCE = 18

§

U_UNSUPPORTED_ESCAPE_SEQUENCE = 19

§

U_NO_SPACE_AVAILABLE = 20

§

U_CE_NOT_FOUND_ERROR = 21

§

U_PRIMARY_TOO_LONG_ERROR = 22

§

U_STATE_TOO_OLD_ERROR = 23

§

U_TOO_MANY_ALIASES_ERROR = 24

§

U_ENUM_OUT_OF_SYNC_ERROR = 25

§

U_INVARIANT_CONVERSION_ERROR = 26

§

U_INVALID_STATE_ERROR = 27

§

U_COLLATOR_VERSION_MISMATCH = 28

§

U_USELESS_COLLATOR_ERROR = 29

§

U_NO_WRITE_PERMISSION = 30

§

U_INPUT_TOO_LONG_ERROR = 31

§

U_STANDARD_ERROR_LIMIT = 32

§

U_BAD_VARIABLE_DEFINITION = 65_536

§

U_MALFORMED_RULE = 65_537

§

U_MALFORMED_SET = 65_538

§

U_MALFORMED_SYMBOL_REFERENCE = 65_539

§

U_MALFORMED_UNICODE_ESCAPE = 65_540

§

U_MALFORMED_VARIABLE_DEFINITION = 65_541

§

U_MALFORMED_VARIABLE_REFERENCE = 65_542

§

U_MISMATCHED_SEGMENT_DELIMITERS = 65_543

§

U_MISPLACED_ANCHOR_START = 65_544

§

U_MISPLACED_CURSOR_OFFSET = 65_545

§

U_MISPLACED_QUANTIFIER = 65_546

§

U_MISSING_OPERATOR = 65_547

§

U_MISSING_SEGMENT_CLOSE = 65_548

§

U_MULTIPLE_ANTE_CONTEXTS = 65_549

§

U_MULTIPLE_CURSORS = 65_550

§

U_MULTIPLE_POST_CONTEXTS = 65_551

§

U_TRAILING_BACKSLASH = 65_552

§

U_UNDEFINED_SEGMENT_REFERENCE = 65_553

§

U_UNDEFINED_VARIABLE = 65_554

§

U_UNQUOTED_SPECIAL = 65_555

§

U_UNTERMINATED_QUOTE = 65_556

§

U_RULE_MASK_ERROR = 65_557

§

U_MISPLACED_COMPOUND_FILTER = 65_558

§

U_MULTIPLE_COMPOUND_FILTERS = 65_559

§

U_INVALID_RBT_SYNTAX = 65_560

§

U_INVALID_PROPERTY_PATTERN = 65_561

§

U_MALFORMED_PRAGMA = 65_562

§

U_UNCLOSED_SEGMENT = 65_563

§

U_ILLEGAL_CHAR_IN_SEGMENT = 65_564

§

U_VARIABLE_RANGE_EXHAUSTED = 65_565

§

U_VARIABLE_RANGE_OVERLAP = 65_566

§

U_ILLEGAL_CHARACTER = 65_567

§

U_INTERNAL_TRANSLITERATOR_ERROR = 65_568

§

U_INVALID_ID = 65_569

§

U_INVALID_FUNCTION = 65_570

§

U_PARSE_ERROR_LIMIT = 65_571

§

U_UNEXPECTED_TOKEN = 65_792

§

U_MULTIPLE_DECIMAL_SEPARATORS = 65_793

§

U_MULTIPLE_EXPONENTIAL_SYMBOLS = 65_794

§

U_MALFORMED_EXPONENTIAL_PATTERN = 65_795

§

U_MULTIPLE_PERCENT_SYMBOLS = 65_796

§

U_MULTIPLE_PERMILL_SYMBOLS = 65_797

§

U_MULTIPLE_PAD_SPECIFIERS = 65_798

§

U_PATTERN_SYNTAX_ERROR = 65_799

§

U_ILLEGAL_PAD_POSITION = 65_800

§

U_UNMATCHED_BRACES = 65_801

§

U_UNSUPPORTED_PROPERTY = 65_802

§

U_UNSUPPORTED_ATTRIBUTE = 65_803

§

U_ARGUMENT_TYPE_MISMATCH = 65_804

§

U_DUPLICATE_KEYWORD = 65_805

§

U_UNDEFINED_KEYWORD = 65_806

§

U_DEFAULT_KEYWORD_MISSING = 65_807

§

U_DECIMAL_NUMBER_SYNTAX_ERROR = 65_808

§

U_FORMAT_INEXACT_ERROR = 65_809

§

U_NUMBER_ARG_OUTOFBOUNDS_ERROR = 65_810

§

U_NUMBER_SKELETON_SYNTAX_ERROR = 65_811

§

U_FMT_PARSE_ERROR_LIMIT = 65_812

§

U_BRK_INTERNAL_ERROR = 66_048

§

U_BRK_HEX_DIGITS_EXPECTED = 66_049

§

U_BRK_SEMICOLON_EXPECTED = 66_050

§

U_BRK_RULE_SYNTAX = 66_051

§

U_BRK_UNCLOSED_SET = 66_052

§

U_BRK_ASSIGN_ERROR = 66_053

§

U_BRK_VARIABLE_REDFINITION = 66_054

§

U_BRK_MISMATCHED_PAREN = 66_055

§

U_BRK_NEW_LINE_IN_QUOTED_STRING = 66_056

§

U_BRK_UNDEFINED_VARIABLE = 66_057

§

U_BRK_INIT_ERROR = 66_058

§

U_BRK_RULE_EMPTY_SET = 66_059

§

U_BRK_UNRECOGNIZED_OPTION = 66_060

§

U_BRK_MALFORMED_RULE_TAG = 66_061

§

U_BRK_ERROR_LIMIT = 66_062

§

U_REGEX_INTERNAL_ERROR = 66_304

§

U_REGEX_RULE_SYNTAX = 66_305

§

U_REGEX_INVALID_STATE = 66_306

§

U_REGEX_BAD_ESCAPE_SEQUENCE = 66_307

§

U_REGEX_PROPERTY_SYNTAX = 66_308

§

U_REGEX_UNIMPLEMENTED = 66_309

§

U_REGEX_MISMATCHED_PAREN = 66_310

§

U_REGEX_NUMBER_TOO_BIG = 66_311

§

U_REGEX_BAD_INTERVAL = 66_312

§

U_REGEX_MAX_LT_MIN = 66_313

§

U_REGEX_INVALID_BACK_REF = 66_314

§

U_REGEX_INVALID_FLAG = 66_315

§

U_REGEX_LOOK_BEHIND_LIMIT = 66_316

§

U_REGEX_SET_CONTAINS_STRING = 66_317

§

U_REGEX_OCTAL_TOO_BIG = 66_318

§

U_REGEX_MISSING_CLOSE_BRACKET = 66_319

§

U_REGEX_INVALID_RANGE = 66_320

§

U_REGEX_STACK_OVERFLOW = 66_321

§

U_REGEX_TIME_OUT = 66_322

§

U_REGEX_STOPPED_BY_CALLER = 66_323

§

U_REGEX_PATTERN_TOO_BIG = 66_324

§

U_REGEX_INVALID_CAPTURE_GROUP_NAME = 66_325

§

U_REGEX_ERROR_LIMIT = 66_326

§

U_IDNA_PROHIBITED_ERROR = 66_560

§

U_IDNA_UNASSIGNED_ERROR = 66_561

§

U_IDNA_CHECK_BIDI_ERROR = 66_562

§

U_IDNA_STD3_ASCII_RULES_ERROR = 66_563

§

U_IDNA_ACE_PREFIX_ERROR = 66_564

§

U_IDNA_VERIFICATION_ERROR = 66_565

§

U_IDNA_LABEL_TOO_LONG_ERROR = 66_566

§

U_IDNA_ZERO_LENGTH_LABEL_ERROR = 66_567

§

U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR = 66_568

§

U_IDNA_ERROR_LIMIT = 66_569

§

U_PLUGIN_ERROR_START = 66_816

§

U_PLUGIN_DIDNT_SET_LEVEL = 66_817

§

U_PLUGIN_ERROR_LIMIT = 66_818

Implementations§

Source§

impl UErrorCode

Source

pub const U_ERROR_WARNING_START: UErrorCode = UErrorCode::U_USING_FALLBACK_WARNING

Source§

impl UErrorCode

Source

pub const U_PARSE_ERROR_START: UErrorCode = UErrorCode::U_BAD_VARIABLE_DEFINITION

Source§

impl UErrorCode

Source

pub const U_FMT_PARSE_ERROR_START: UErrorCode = UErrorCode::U_UNEXPECTED_TOKEN

Source§

impl UErrorCode

Source

pub const U_MULTIPLE_DECIMAL_SEPERATORS: UErrorCode = UErrorCode::U_MULTIPLE_DECIMAL_SEPARATORS

Source§

impl UErrorCode

Source

pub const U_BRK_ERROR_START: UErrorCode = UErrorCode::U_BRK_INTERNAL_ERROR

Source§

impl UErrorCode

Source

pub const U_REGEX_ERROR_START: UErrorCode = UErrorCode::U_REGEX_INTERNAL_ERROR

Source§

impl UErrorCode

Source

pub const U_IDNA_ERROR_START: UErrorCode = UErrorCode::U_IDNA_PROHIBITED_ERROR

Source§

impl UErrorCode

Source

pub const U_STRINGPREP_PROHIBITED_ERROR: UErrorCode = UErrorCode::U_IDNA_PROHIBITED_ERROR

Source§

impl UErrorCode

Source

pub const U_STRINGPREP_UNASSIGNED_ERROR: UErrorCode = UErrorCode::U_IDNA_UNASSIGNED_ERROR

Source§

impl UErrorCode

Source

pub const U_STRINGPREP_CHECK_BIDI_ERROR: UErrorCode = UErrorCode::U_IDNA_CHECK_BIDI_ERROR

Source§

impl UErrorCode

Source

pub const U_PLUGIN_TOO_HIGH: UErrorCode = UErrorCode::U_PLUGIN_ERROR_START

Source§

impl UErrorCode

Source

pub const U_ERROR_LIMIT: UErrorCode = UErrorCode::U_PLUGIN_ERROR_LIMIT

Trait Implementations§

Source§

impl Clone for UErrorCode

Source§

fn clone(&self) -> UErrorCode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UErrorCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for UErrorCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for UErrorCode

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for UErrorCode

Source§

fn eq(&self, other: &UErrorCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for UErrorCode

Source§

fn partial_cmp(&self, other: &UErrorCode) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for UErrorCode

Source§

impl Eq for UErrorCode

Source§

impl StructuralPartialEq for UErrorCode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.