pub enum TeamsError {
NoEntry {
searched: String,
},
Service {
action: &'static str,
detail: String,
},
File {
path: PathBuf,
source: Error,
},
}Expand description
Why a teams verb could not do its work.
Variants§
NoEntry
The Node teams entry could not be located.
Service
A service manager refused, or there is none on this platform.
Fields
File
A file under the teams home could not be written or removed.
Trait Implementations§
Source§impl Debug for TeamsError
impl Debug for TeamsError
Source§impl Display for TeamsError
impl Display for TeamsError
Source§impl Error for TeamsError
impl Error for TeamsError
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 !RefUnwindSafe for TeamsError
impl !UnwindSafe for TeamsError
impl Freeze for TeamsError
impl Send for TeamsError
impl Sync for TeamsError
impl Unpin for TeamsError
impl UnsafeUnpin for TeamsError
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