#[non_exhaustive]pub struct TooManyOrigins;Expand description
Returned when an operation would grow an OriginList past its hop-count cap.
Trait Implementations§
Source§impl Clone for TooManyOrigins
impl Clone for TooManyOrigins
Source§fn clone(&self) -> TooManyOrigins
fn clone(&self) -> TooManyOrigins
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 TooManyOrigins
impl Debug for TooManyOrigins
Source§impl Display for TooManyOrigins
impl Display for TooManyOrigins
Source§impl Error for TooManyOrigins
impl Error for TooManyOrigins
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 From<TooManyOrigins> for DecodeError
impl From<TooManyOrigins> for DecodeError
Source§fn from(_: TooManyOrigins) -> Self
fn from(_: TooManyOrigins) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TooManyOrigins
impl PartialEq for TooManyOrigins
Source§fn eq(&self, other: &TooManyOrigins) -> bool
fn eq(&self, other: &TooManyOrigins) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TooManyOrigins
impl Eq for TooManyOrigins
impl StructuralPartialEq for TooManyOrigins
Auto Trait Implementations§
impl Freeze for TooManyOrigins
impl RefUnwindSafe for TooManyOrigins
impl Send for TooManyOrigins
impl Sync for TooManyOrigins
impl Unpin for TooManyOrigins
impl UnsafeUnpin for TooManyOrigins
impl UnwindSafe for TooManyOrigins
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