pub enum ResourcePackResponseEnum {
SuccessfullyDownloaded,
Declined,
FailedToDownload,
Accepted,
Downloaded,
InvalidUrl,
FailedToReload,
Discarded,
}Expand description
Enum of the different responses to an resource pack packet
Variants§
SuccessfullyDownloaded
The client was able to download the resource pack
Declined
The client decliened to add the resource pack
FailedToDownload
The client was not able to download the resource pack
Accepted
the Resource pack request was accepted
Downloaded
The resourcepack was already downloaded
InvalidUrl
The client could not establish a connection to the download url
FailedToReload
The client was unable to reload its resource packs
Discarded
The downloaded resource pack was discarded, because the hash was not correct
Trait Implementations§
source§impl Clone for ResourcePackResponseEnum
impl Clone for ResourcePackResponseEnum
source§fn clone(&self) -> ResourcePackResponseEnum
fn clone(&self) -> ResourcePackResponseEnum
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 ImportantEnumTrait for ResourcePackResponseEnum
impl ImportantEnumTrait for ResourcePackResponseEnum
impl Copy for ResourcePackResponseEnum
Auto Trait Implementations§
impl Freeze for ResourcePackResponseEnum
impl RefUnwindSafe for ResourcePackResponseEnum
impl Send for ResourcePackResponseEnum
impl Sync for ResourcePackResponseEnum
impl Unpin for ResourcePackResponseEnum
impl UnwindSafe for ResourcePackResponseEnum
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