pub enum RemoteStateError {
Permission {
key: String,
},
Remote {
message: String,
},
}
Expand description
Returned when there is an issue with the remote state requested by the plugin.
Variants§
Trait Implementations§
Source§impl Debug for RemoteStateError
impl Debug for RemoteStateError
Source§impl Display for RemoteStateError
impl Display for RemoteStateError
Source§impl Error for RemoteStateError
impl Error for RemoteStateError
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 RemoteStateError
impl RefUnwindSafe for RemoteStateError
impl Send for RemoteStateError
impl Sync for RemoteStateError
impl Unpin for RemoteStateError
impl UnwindSafe for RemoteStateError
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