pub enum MojangError {
NotEnoughData,
ReadError(Error),
RequestError(Error),
ParseError,
}
Expand description
Varous errors that can come from the function in this crate
Variantsยง
NotEnoughData
Not enough data to proform action
Ex: Used when calling Player.name_at(n) if player dosent have nave history data
ReadError(Error)
IO Error while reading a stream
RequestError(Error)
Ureq Request Error
ParseError
Error Parseing Data
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for MojangError
impl !RefUnwindSafe for MojangError
impl Send for MojangError
impl Sync for MojangError
impl Unpin for MojangError
impl !UnwindSafe for MojangError
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