pub struct UnknownCongestion(/* private fields */);Expand description
An error returned when a name is not that of a Congestion controller.
Implementations§
Source§impl UnknownCongestion
impl UnknownCongestion
Sourcepub fn new(_0: String) -> Self
pub fn new(_0: String) -> Self
Creates a new UnknownCongestion error.
Trait Implementations§
Source§impl Clone for UnknownCongestion
impl Clone for UnknownCongestion
Source§impl Debug for UnknownCongestion
impl Debug for UnknownCongestion
Source§impl Display for UnknownCongestion
impl Display for UnknownCongestion
impl Eq for UnknownCongestion
Source§impl Error for UnknownCongestion
impl Error for UnknownCongestion
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<UnknownCongestion> for AnyError
impl From<UnknownCongestion> for AnyError
Source§fn from(value: UnknownCongestion) -> AnyError
fn from(value: UnknownCongestion) -> AnyError
Converts to this type from the input type.
Source§impl PartialEq for UnknownCongestion
impl PartialEq for UnknownCongestion
Source§impl StackError for UnknownCongestion
impl StackError for UnknownCongestion
Source§fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
Returns this error as a std error reference.
Source§fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
Returns this error as a std error.
Source§fn as_dyn(&self) -> &dyn StackError
fn as_dyn(&self) -> &dyn StackError
Returns this error as a
dyn StackError.Source§fn is_transparent(&self) -> bool
fn is_transparent(&self) -> bool
Returns whether this error is transparent and should be skipped in reports.
Source§fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
Returns the next source in the chain, if any.
impl StructuralPartialEq for UnknownCongestion
Auto Trait Implementations§
impl Freeze for UnknownCongestion
impl RefUnwindSafe for UnknownCongestion
impl Send for UnknownCongestion
impl Sync for UnknownCongestion
impl Unpin for UnknownCongestion
impl UnsafeUnpin for UnknownCongestion
impl UnwindSafe for UnknownCongestion
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.