pub enum Http3SettingsSemanticError {
DuplicateSetting {
id: Http3SettingId,
offset: usize,
},
ProhibitedSetting {
id: Http3SettingId,
offset: usize,
},
}Expand description
Failure to strictly validate HTTP/3 SETTINGS semantics.
Offsets are byte offsets of setting identifiers from the start of the SETTINGS payload.
Variants§
DuplicateSetting
A SETTINGS identifier repeats an earlier identifier.
Fields
§
id: Http3SettingIdRepeated raw setting identifier.
ProhibitedSetting
A SETTINGS identifier is reserved for HTTP/2.
Fields
§
id: Http3SettingIdReserved raw setting identifier.
Trait Implementations§
Source§impl Clone for Http3SettingsSemanticError
impl Clone for Http3SettingsSemanticError
impl Copy for Http3SettingsSemanticError
Source§impl Debug for Http3SettingsSemanticError
impl Debug for Http3SettingsSemanticError
Source§impl Display for Http3SettingsSemanticError
impl Display for Http3SettingsSemanticError
impl Eq for Http3SettingsSemanticError
Source§impl Error for Http3SettingsSemanticError
impl Error for Http3SettingsSemanticError
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()
impl StructuralPartialEq for Http3SettingsSemanticError
Auto Trait Implementations§
impl Freeze for Http3SettingsSemanticError
impl RefUnwindSafe for Http3SettingsSemanticError
impl Send for Http3SettingsSemanticError
impl Sync for Http3SettingsSemanticError
impl Unpin for Http3SettingsSemanticError
impl UnsafeUnpin for Http3SettingsSemanticError
impl UnwindSafe for Http3SettingsSemanticError
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