pub enum ResolveAndPlanError {
NotFound,
IsDirectory,
Denied(ResourceDeniedReason),
Body(BodySourceError),
}Expand description
Errors returned by resolve_and_plan.
Variants§
Trait Implementations§
Source§impl Debug for ResolveAndPlanError
impl Debug for ResolveAndPlanError
Source§impl Display for ResolveAndPlanError
impl Display for ResolveAndPlanError
Source§impl Error for ResolveAndPlanError
impl Error for ResolveAndPlanError
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 From<BodySourceError> for ResolveAndPlanError
impl From<BodySourceError> for ResolveAndPlanError
Source§fn from(e: BodySourceError) -> Self
fn from(e: BodySourceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResolveAndPlanError
impl RefUnwindSafe for ResolveAndPlanError
impl Send for ResolveAndPlanError
impl Sync for ResolveAndPlanError
impl Unpin for ResolveAndPlanError
impl UnsafeUnpin for ResolveAndPlanError
impl UnwindSafe for ResolveAndPlanError
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