pub struct EmptyHeadCollection { /* private fields */ }Expand description
A head collection was constructed without elements.
Implementations§
Source§impl EmptyHeadCollection
impl EmptyHeadCollection
Sourcepub const CODE_EMPTY_HEAD_COLLECTION: ErrorCode
pub const CODE_EMPTY_HEAD_COLLECTION: ErrorCode
Code of every empty head collection.
Sourcepub const fn kind(&self) -> HeadCollectionKind
pub const fn kind(&self) -> HeadCollectionKind
The collection that was empty.
Trait Implementations§
Source§impl Clone for EmptyHeadCollection
impl Clone for EmptyHeadCollection
impl Copy for EmptyHeadCollection
Source§impl Debug for EmptyHeadCollection
impl Debug for EmptyHeadCollection
Source§impl<'de> Deserialize<'de> for EmptyHeadCollection
impl<'de> Deserialize<'de> for EmptyHeadCollection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EmptyHeadCollection
impl Display for EmptyHeadCollection
impl Eq for EmptyHeadCollection
Source§impl Error for EmptyHeadCollection
impl Error for EmptyHeadCollection
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 Hash for EmptyHeadCollection
impl Hash for EmptyHeadCollection
Source§impl PartialEq for EmptyHeadCollection
impl PartialEq for EmptyHeadCollection
Source§impl Serialize for EmptyHeadCollection
impl Serialize for EmptyHeadCollection
impl StructuralPartialEq for EmptyHeadCollection
Auto Trait Implementations§
impl Forget for EmptyHeadCollection
impl Freeze for EmptyHeadCollection
impl Move for EmptyHeadCollection
impl RefUnwindSafe for EmptyHeadCollection
impl Send for EmptyHeadCollection
impl Sync for EmptyHeadCollection
impl Unpin for EmptyHeadCollection
impl UnsafeUnpin for EmptyHeadCollection
impl UnwindSafe for EmptyHeadCollection
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