pub enum SysdBaseError {
CmdNoFreedesktopFlatpakPermission,
CommandCallError(OsString, Vec<OsString>, Vec<(OsString, Option<OsString>)>, Error),
Custom(String),
IoError(Error),
NotAuthorizedAuthentificationDismissed,
NotAuthorized,
Tokio(JoinError),
InvalidPath(String),
ErrorExit(i32),
}Variants§
CmdNoFreedesktopFlatpakPermission
CommandCallError(OsString, Vec<OsString>, Vec<(OsString, Option<OsString>)>, Error)
Custom(String)
IoError(Error)
NotAuthorizedAuthentificationDismissed
NotAuthorized
Tokio(JoinError)
InvalidPath(String)
ErrorExit(i32)
Implementations§
Source§impl SysdBaseError
impl SysdBaseError
pub fn create_command_error(command: &Command, error: Error) -> Self
Trait Implementations§
Source§impl Debug for SysdBaseError
impl Debug for SysdBaseError
Source§impl From<&str> for SysdBaseError
impl From<&str> for SysdBaseError
Source§impl From<Error> for SysdBaseError
impl From<Error> for SysdBaseError
Source§impl From<JoinError> for SysdBaseError
impl From<JoinError> for SysdBaseError
Auto Trait Implementations§
impl !RefUnwindSafe for SysdBaseError
impl !UnwindSafe for SysdBaseError
impl Forget for SysdBaseError
impl Freeze for SysdBaseErrorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<OsString>: Freeze,
PhantomData<(OsString, Option<OsString>)>: Freeze,
*const () is !null: Freeze,
PhantomData<ErrorData<CustomOwner>>: Freeze,
*const dyn Any + Send is !null: Freeze,
PhantomData<dyn Any + Send>: Freeze,
NonZero<u64>: Freeze,
impl Move for SysdBaseError
impl Send for SysdBaseError
impl Sync for SysdBaseError
impl Unpin for SysdBaseError
impl UnsafeUnpin for SysdBaseErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<OsString>: UnsafeUnpin,
PhantomData<(OsString, Option<OsString>)>: UnsafeUnpin,
*const () is !null: UnsafeUnpin,
PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin,
*const dyn Any + Send is !null: UnsafeUnpin,
PhantomData<dyn Any + Send>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
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