pub enum GetStreamingDistributionError {
AccessDenied(String),
NoSuchStreamingDistribution(String),
}
Expand description
Errors returned by GetStreamingDistribution
Variants§
AccessDenied(String)
Access denied.
NoSuchStreamingDistribution(String)
The specified streaming distribution does not exist.
Implementations§
Trait Implementations§
Source§impl Error for GetStreamingDistributionError
impl Error for GetStreamingDistributionError
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 GetStreamingDistributionError
impl PartialEq for GetStreamingDistributionError
Source§fn eq(&self, other: &GetStreamingDistributionError) -> bool
fn eq(&self, other: &GetStreamingDistributionError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetStreamingDistributionError
Auto Trait Implementations§
impl Freeze for GetStreamingDistributionError
impl RefUnwindSafe for GetStreamingDistributionError
impl Send for GetStreamingDistributionError
impl Sync for GetStreamingDistributionError
impl Unpin for GetStreamingDistributionError
impl UnwindSafe for GetStreamingDistributionError
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