pub struct FrameHeader {
pub direction: Direction,
pub byte_count: usize,
pub transport: Transport,
pub address: String,
pub timestamp: Timestamp,
pub header_len: usize,
}Expand description
Fields of one frame header line.
Fields§
§direction: DirectionWhether FreeSWITCH received or sent the frame.
byte_count: usizeContent length declared by the header.
transport: TransportTransport the frame travelled over.
address: StringRemote address, as written in the header.
timestamp: TimestampTime the frame was written.
header_len: usizeHeader length in bytes, including the trailing \n.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameHeader
impl RefUnwindSafe for FrameHeader
impl Send for FrameHeader
impl Sync for FrameHeader
impl Unpin for FrameHeader
impl UnsafeUnpin for FrameHeader
impl UnwindSafe for FrameHeader
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