pub enum ManagerError {
RateLimitReached,
}Expand description
Errors that can occur in the io.systemd.Manager interface.
Variants§
RateLimitReached
The manager is refusing calls because it is being hammered.
Trait Implementations§
Source§impl Clone for ManagerError
impl Clone for ManagerError
Source§fn clone(&self) -> ManagerError
fn clone(&self) -> ManagerError
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 ManagerError
impl Debug for ManagerError
Source§impl<'de> Deserialize<'de> for ManagerError
impl<'de> Deserialize<'de> for ManagerError
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ManagerError
impl Display for ManagerError
Source§impl Error for ManagerError
impl Error for ManagerError
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 ManagerError
impl PartialEq for ManagerError
Source§fn eq(&self, other: &ManagerError) -> bool
fn eq(&self, other: &ManagerError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ManagerError
impl Serialize for ManagerError
impl StructuralPartialEq for ManagerError
Auto Trait Implementations§
impl Freeze for ManagerError
impl RefUnwindSafe for ManagerError
impl Send for ManagerError
impl Sync for ManagerError
impl Unpin for ManagerError
impl UnsafeUnpin for ManagerError
impl UnwindSafe for ManagerError
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