Enum icu_segmenter::SegmenterError
source · #[non_exhaustive]pub enum SegmenterError {
Data(DataError),
}
Expand description
A list of error outcomes for various operations in this module.
Re-exported as Error
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Data(DataError)
An error originating inside of the data provider.
Trait Implementations§
source§impl Clone for SegmenterError
impl Clone for SegmenterError
source§fn clone(&self) -> SegmenterError
fn clone(&self) -> SegmenterError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SegmenterError
impl Debug for SegmenterError
source§impl Display for SegmenterError
impl Display for SegmenterError
source§impl From<DataError> for SegmenterError
impl From<DataError> for SegmenterError
source§impl PartialEq for SegmenterError
impl PartialEq for SegmenterError
source§fn eq(&self, other: &SegmenterError) -> bool
fn eq(&self, other: &SegmenterError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SegmenterError
impl StructuralPartialEq for SegmenterError
Auto Trait Implementations§
impl Freeze for SegmenterError
impl RefUnwindSafe for SegmenterError
impl Send for SegmenterError
impl Sync for SegmenterError
impl Unpin for SegmenterError
impl UnwindSafe for SegmenterError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more