pub enum PermissionsError {
InvalidXml(String),
Malformed(String),
}Expand description
Parse-Fehler.
Variants§
InvalidXml(String)
XML-Parsing gescheitert.
Malformed(String)
Struktur-Fehler (fehlendes Pflicht-Element).
Trait Implementations§
Source§impl Clone for PermissionsError
impl Clone for PermissionsError
Source§fn clone(&self) -> PermissionsError
fn clone(&self) -> PermissionsError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PermissionsError
impl Debug for PermissionsError
Source§impl Display for PermissionsError
impl Display for PermissionsError
Source§impl Error for PermissionsError
Available on crate feature std only.
impl Error for PermissionsError
Available on crate feature
std only.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 PermissionsError
impl PartialEq for PermissionsError
Source§fn eq(&self, other: &PermissionsError) -> bool
fn eq(&self, other: &PermissionsError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PermissionsError
impl StructuralPartialEq for PermissionsError
Auto Trait Implementations§
impl Freeze for PermissionsError
impl RefUnwindSafe for PermissionsError
impl Send for PermissionsError
impl Sync for PermissionsError
impl Unpin for PermissionsError
impl UnsafeUnpin for PermissionsError
impl UnwindSafe for PermissionsError
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