pub struct SidParseError {
pub input: Cow<'static, str>,
pub reason: Cow<'static, str>,
}Expand description
SID parsing error.
Fields§
§input: Cow<'static, str>Input SID representation that failed.
reason: Cow<'static, str>Why parsing failed.
Implementations§
Trait Implementations§
Source§impl Debug for SidParseError
impl Debug for SidParseError
Source§impl Display for SidParseError
impl Display for SidParseError
Source§impl Error for SidParseError
impl Error for SidParseError
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()
Auto Trait Implementations§
impl Freeze for SidParseError
impl RefUnwindSafe for SidParseError
impl Send for SidParseError
impl Sync for SidParseError
impl Unpin for SidParseError
impl UnsafeUnpin for SidParseError
impl UnwindSafe for SidParseError
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