pub struct ShortInfo {
pub name: String,
pub stream_type: String,
pub channel_count: u32,
pub channel_format: String,
pub uid: String,
pub source_id: String,
pub nominal_srate: f64,
pub hostname: String,
pub v4data_port: u16,
pub v4service_port: u16,
}Expand description
The fields that an inlet reads out of a short description.
This is a small reader and not a general XML parser. The fields sit at a fixed depth, and every one of them holds text.
Fields§
§name: StringThe stream name.
stream_type: StringThe content type.
channel_count: u32The channel count.
channel_format: StringThe channel format, as text.
uid: StringThe stream instance identifier.
source_id: StringThe source identifier.
nominal_srate: f64The nominal rate.
hostname: StringThe host name of the sender.
v4data_port: u16The TCP port that carries the data.
v4service_port: u16The UDP port that answers a time probe.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ShortInfo
Auto Trait Implementations§
impl Forget for ShortInfo
impl Freeze for ShortInfo
impl Move for ShortInfo
impl RefUnwindSafe for ShortInfo
impl Send for ShortInfo
impl Sync for ShortInfo
impl Unpin for ShortInfo
impl UnsafeUnpin for ShortInfo
impl UnwindSafe for ShortInfo
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