#[non_exhaustive]pub enum IncludeLoadError {
Denied(String),
Failed(String),
}Expand description
A caller-controlled include loading outcome that prevents traversal of one requested edge.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Denied(String)
The caller’s policy denied the request.
Failed(String)
The caller could not load an authorized request.
Implementations§
Trait Implementations§
Source§impl Clone for IncludeLoadError
impl Clone for IncludeLoadError
Source§fn clone(&self) -> IncludeLoadError
fn clone(&self) -> IncludeLoadError
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 IncludeLoadError
impl Debug for IncludeLoadError
Source§impl Display for IncludeLoadError
impl Display for IncludeLoadError
impl Eq for IncludeLoadError
Source§impl Error for IncludeLoadError
impl Error for IncludeLoadError
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 IncludeLoadError
impl PartialEq for IncludeLoadError
impl StructuralPartialEq for IncludeLoadError
Auto Trait Implementations§
impl Freeze for IncludeLoadError
impl RefUnwindSafe for IncludeLoadError
impl Send for IncludeLoadError
impl Sync for IncludeLoadError
impl Unpin for IncludeLoadError
impl UnsafeUnpin for IncludeLoadError
impl UnwindSafe for IncludeLoadError
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