Struct expry::raw_utils::EncodingError
source · pub struct EncodingError {
pub line_nr: u32,
}
Fields§
§line_nr: u32
Trait Implementations§
source§impl Clone for EncodingError
impl Clone for EncodingError
source§fn clone(&self) -> EncodingError
fn clone(&self) -> EncodingError
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 EncodingError
impl Debug for EncodingError
source§impl Display for EncodingError
impl Display for EncodingError
source§impl Error for EncodingError
impl Error for EncodingError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<MoreInputExpected> for EncodingError
impl From<MoreInputExpected> for EncodingError
source§fn from(_: MoreInputExpected) -> Self
fn from(_: MoreInputExpected) -> Self
Converts to this type from the input type.
source§impl PartialEq for EncodingError
impl PartialEq for EncodingError
source§fn eq(&self, other: &EncodingError) -> bool
fn eq(&self, other: &EncodingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> RawOutput<EncodingError> for RawWriter<'a>
impl<'a> RawOutput<EncodingError> for RawWriter<'a>
fn write_u8(&mut self, n: u8) -> Result<(), EncodingError>
fn write_i64(&mut self, i: i64, size: usize) -> Result<(), EncodingError>
fn write_u64(&mut self, i: u64, size: usize) -> Result<(), EncodingError>
fn write_var_i64(&mut self, i: i64) -> Result<(), EncodingError>
fn write_var_u64(&mut self, i: u64) -> Result<(), EncodingError>
fn write_f32(&mut self, f: f32) -> Result<(), EncodingError>
fn write_f64(&mut self, f: f64) -> Result<(), EncodingError>
fn write_bytes(&mut self, s: &[u8]) -> Result<(), EncodingError>
fn write_var_bytes(&mut self, s: &[u8]) -> Result<(), EncodingError>
fn swap_range(&mut self, a: usize, b: usize) -> Result<(), EncodingError>
fn pos(&self) -> usize
impl Copy for EncodingError
impl Eq for EncodingError
impl StructuralPartialEq for EncodingError
Auto Trait Implementations§
impl Freeze for EncodingError
impl RefUnwindSafe for EncodingError
impl Send for EncodingError
impl Sync for EncodingError
impl Unpin for EncodingError
impl UnwindSafe for EncodingError
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