#[non_exhaustive]pub enum ProfileFault {
AuthDisabled,
ReservedField(String),
FileField(String),
RelationshipField(String),
}Expand description
Why a panel’s profile page cannot be served:
DeclarationErrorKind::Profile.
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.
AuthDisabled
Auth::profile on Auth::disabled, which signs nobody in to edit.
Turn authentication on.
ReservedField(String)
A field named like a key the profile POST carries itself: csrf_token.
Rename the field.
FileField(String)
A file field, whose upload the profile POST does not read.
Edit the file on a resource’s form.
RelationshipField(String)
A relationship choice, whose options no route serves the profile page.
Offer static options.
Trait Implementations§
Source§impl Clone for ProfileFault
impl Clone for ProfileFault
Source§impl Debug for ProfileFault
impl Debug for ProfileFault
Source§impl Display for ProfileFault
impl Display for ProfileFault
impl Eq for ProfileFault
Source§impl PartialEq for ProfileFault
impl PartialEq for ProfileFault
impl StructuralPartialEq for ProfileFault
Auto Trait Implementations§
impl Forget for ProfileFault
impl Freeze for ProfileFault
impl RefUnwindSafe for ProfileFault
impl Send for ProfileFault
impl Sync for ProfileFault
impl Unpin for ProfileFault
impl UnsafeUnpin for ProfileFault
impl UnwindSafe for ProfileFault
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.