pub enum SupplementalAddressRejection {
InvalidAddress,
UnsupportedTransport,
ForeignPeer,
Duplicate,
CapacityExceeded,
}Expand description
Reasons a supplemental endpoint can be rejected.
Variants§
InvalidAddress
The endpoint cannot be stored or encoded within the wire bounds.
UnsupportedTransport
Supplemental registration currently supports only WebRTC Direct.
ForeignPeer
The endpoint explicitly names a different owner.
Duplicate
An earlier input already registered this endpoint.
CapacityExceeded
The record budget is full after reserving native QUIC capacity.
Trait Implementations§
Source§impl Clone for SupplementalAddressRejection
impl Clone for SupplementalAddressRejection
impl Copy for SupplementalAddressRejection
Source§impl Debug for SupplementalAddressRejection
impl Debug for SupplementalAddressRejection
impl Eq for SupplementalAddressRejection
impl StructuralPartialEq for SupplementalAddressRejection
Auto Trait Implementations§
impl Freeze for SupplementalAddressRejection
impl RefUnwindSafe for SupplementalAddressRejection
impl Send for SupplementalAddressRejection
impl Sync for SupplementalAddressRejection
impl Unpin for SupplementalAddressRejection
impl UnsafeUnpin for SupplementalAddressRejection
impl UnwindSafe for SupplementalAddressRejection
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
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.