pub struct ShardIdParseError { /* private fields */ }
Implementations§
Source§impl ShardIdParseError
impl ShardIdParseError
Sourcepub const fn kind(&self) -> &ShardIdParseErrorType
pub const fn kind(&self) -> &ShardIdParseErrorType
Immutable reference to the type of error that occurred.
Sourcepub fn into_source(self) -> Option<Box<dyn Error + Send + Sync>>
pub fn into_source(self) -> Option<Box<dyn Error + Send + Sync>>
Consume the error, returning the source error if there is any.
Sourcepub fn into_parts(
self,
) -> (ShardIdParseErrorType, Option<Box<dyn Error + Send + Sync>>)
pub fn into_parts( self, ) -> (ShardIdParseErrorType, Option<Box<dyn Error + Send + Sync>>)
Consume the error, returning the owned error type and the source error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShardIdParseError
impl RefUnwindSafe for ShardIdParseError
impl Send for ShardIdParseError
impl Sync for ShardIdParseError
impl Unpin for ShardIdParseError
impl UnwindSafe for ShardIdParseError
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