Enum HideError
#[non_exhaustive]pub enum HideError {
Full,
BadName,
}Expand description
Why HiddenParts::hide_named took no name.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Full
MAX_HIDDEN_PARTS names are hidden already.
BadName
The name is empty or longer than MAX_PART_NAME bytes.
Trait Implementations§
impl Copy for HideError
impl Eq for HideError
impl StructuralPartialEq for HideError
Auto Trait Implementations§
impl Freeze for HideError
impl RefUnwindSafe for HideError
impl Send for HideError
impl Sync for HideError
impl Unpin for HideError
impl UnsafeUnpin for HideError
impl UnwindSafe for HideError
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