pub enum GetOriginRequestPolicyError {
AccessDenied(String),
NoSuchOriginRequestPolicy(String),
}Expand description
Errors returned by GetOriginRequestPolicy
Variants§
AccessDenied(String)
Access denied.
NoSuchOriginRequestPolicy(String)
The origin request policy does not exist.
Implementations§
Source§impl GetOriginRequestPolicyError
impl GetOriginRequestPolicyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetOriginRequestPolicyError>
Trait Implementations§
Source§impl Debug for GetOriginRequestPolicyError
impl Debug for GetOriginRequestPolicyError
Source§impl Error for GetOriginRequestPolicyError
impl Error for GetOriginRequestPolicyError
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 GetOriginRequestPolicyError
impl PartialEq for GetOriginRequestPolicyError
Source§fn eq(&self, other: &GetOriginRequestPolicyError) -> bool
fn eq(&self, other: &GetOriginRequestPolicyError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetOriginRequestPolicyError
Auto Trait Implementations§
impl Freeze for GetOriginRequestPolicyError
impl RefUnwindSafe for GetOriginRequestPolicyError
impl Send for GetOriginRequestPolicyError
impl Sync for GetOriginRequestPolicyError
impl Unpin for GetOriginRequestPolicyError
impl UnsafeUnpin for GetOriginRequestPolicyError
impl UnwindSafe for GetOriginRequestPolicyError
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