pub struct LongPort { /* private fields */ }Expand description
A long-syntax published port.
Implementations§
Source§impl LongPort
impl LongPort
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete mapping span.
Sourcepub const fn app_protocol(&self) -> Option<&Located<String>>
pub const fn app_protocol(&self) -> Option<&Located<String>>
Returns the application protocol hint.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained x- fields.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns unrecognized fields.
Trait Implementations§
impl Eq for LongPort
impl StructuralPartialEq for LongPort
Auto Trait Implementations§
impl Freeze for LongPort
impl RefUnwindSafe for LongPort
impl Send for LongPort
impl Sync for LongPort
impl Unpin for LongPort
impl UnsafeUnpin for LongPort
impl UnwindSafe for LongPort
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