pub struct BindingError {
pub paths: Vec<PathMismatch>,
}Expand description
A failure to determine the request URI.
Some RPCs correspond to multiple URIs. The contents of the request determine which URI is used. The client library considers all possible URIs, and only returns an error if no URIs work.
The client cannot match a URI when a required parameter is missing, or when it is set to an invalid format.
For more details on the specification, see: AIP-127.
Also see the Handling binding errors section in the user guide to learn how to resolve these errors.
Fields§
§paths: Vec<PathMismatch>A list of all the paths considered, and why exactly the binding failed for each
Trait Implementations§
Source§impl Debug for BindingError
impl Debug for BindingError
Source§impl Display for BindingError
impl Display for BindingError
Source§impl Error for BindingError
impl Error for BindingError
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 BindingError
impl PartialEq for BindingError
impl StructuralPartialEq for BindingError
Auto Trait Implementations§
impl Freeze for BindingError
impl RefUnwindSafe for BindingError
impl Send for BindingError
impl Sync for BindingError
impl Unpin for BindingError
impl UnwindSafe for BindingError
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