Enum pi_bon::ReadBonErr
source · pub enum ReadBonErr {
Overflow {
try_index: usize,
len: usize,
},
TypeNoMatch {
try_read: String,
act_type: (String, u8),
head: usize,
},
Other(String),
}Expand description
定义读时的错误
Variants§
Trait Implementations§
source§impl Clone for ReadBonErr
impl Clone for ReadBonErr
source§fn clone(&self) -> ReadBonErr
fn clone(&self) -> ReadBonErr
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 ReadBonErr
impl Debug for ReadBonErr
source§impl Display for ReadBonErr
impl Display for ReadBonErr
source§impl Error for ReadBonErr
impl Error for ReadBonErr
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()
Auto Trait Implementations§
impl RefUnwindSafe for ReadBonErr
impl Send for ReadBonErr
impl Sync for ReadBonErr
impl Unpin for ReadBonErr
impl UnwindSafe for ReadBonErr
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