#[non_exhaustive]pub struct SubjectError;Expand description
Text that is not account:<name>, person:<id> or group:<name> with a value that is
not empty, holds no control character and neither starts nor ends with whitespace (inner
spaces are fine: group:Domain Users), or any:signed-in. Any other any: name is
refused.
Trait Implementations§
Source§impl Clone for SubjectError
impl Clone for SubjectError
impl Copy for SubjectError
Source§impl Debug for SubjectError
impl Debug for SubjectError
Source§impl Display for SubjectError
impl Display for SubjectError
impl Eq for SubjectError
Source§impl Error for SubjectError
impl Error for SubjectError
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 PartialEq for SubjectError
impl PartialEq for SubjectError
impl StructuralPartialEq for SubjectError
Auto Trait Implementations§
impl Freeze for SubjectError
impl RefUnwindSafe for SubjectError
impl Send for SubjectError
impl Sync for SubjectError
impl Unpin for SubjectError
impl UnsafeUnpin for SubjectError
impl UnwindSafe for SubjectError
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