Thread P generic through all
This commit is contained in:
@@ -249,14 +249,6 @@ impl Headers {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Returns `true` if the frame represents trailers
|
||||
///
|
||||
/// Trailers are header frames that contain no pseudo headers.
|
||||
pub fn is_trailers(&self) -> bool {
|
||||
self.pseudo.method.is_none() &&
|
||||
self.pseudo.status.is_none()
|
||||
}
|
||||
|
||||
pub fn stream_id(&self) -> StreamId {
|
||||
self.stream_id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user