pub enum RepeatedStringError {
TypeMismatch,
InvalidUtf8,
}Variants§
TypeMismatch
Found a value of the wrong wire type
InvalidUtf8
A variable length field did not contain valid UTF-8.
Trait Implementations§
Source§impl Debug for RepeatedStringError
impl Debug for RepeatedStringError
Source§impl Display for RepeatedStringError
impl Display for RepeatedStringError
Source§impl Error for RepeatedStringError
Available on crate feature std only.
impl Error for RepeatedStringError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RepeatedStringError
impl PartialEq for RepeatedStringError
impl StructuralPartialEq for RepeatedStringError
Auto Trait Implementations§
impl Freeze for RepeatedStringError
impl RefUnwindSafe for RepeatedStringError
impl Send for RepeatedStringError
impl Sync for RepeatedStringError
impl Unpin for RepeatedStringError
impl UnsafeUnpin for RepeatedStringError
impl UnwindSafe for RepeatedStringError
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