Enum valence_nbt::snbt::SnbtErrorKind
source · pub enum SnbtErrorKind {
ReachEndOfStream,
InvalidEscapeSequence,
EmptyKeyInCompound,
ExpectColon,
ExpectValue,
ExpectComma,
WrongTypeInArray,
DifferentTypesInList,
LongString,
TrailingData,
DepthLimitExceeded,
}
Variants§
ReachEndOfStream
InvalidEscapeSequence
EmptyKeyInCompound
ExpectColon
ExpectValue
ExpectComma
WrongTypeInArray
DifferentTypesInList
LongString
TrailingData
DepthLimitExceeded
Trait Implementations§
source§impl Clone for SnbtErrorKind
impl Clone for SnbtErrorKind
source§fn clone(&self) -> SnbtErrorKind
fn clone(&self) -> SnbtErrorKind
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 SnbtErrorKind
impl Debug for SnbtErrorKind
source§impl Display for SnbtErrorKind
impl Display for SnbtErrorKind
source§impl PartialEq for SnbtErrorKind
impl PartialEq for SnbtErrorKind
impl Copy for SnbtErrorKind
impl Eq for SnbtErrorKind
impl StructuralPartialEq for SnbtErrorKind
Auto Trait Implementations§
impl Freeze for SnbtErrorKind
impl RefUnwindSafe for SnbtErrorKind
impl Send for SnbtErrorKind
impl Sync for SnbtErrorKind
impl Unpin for SnbtErrorKind
impl UnwindSafe for SnbtErrorKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.