pub struct ServerStream {
pub uid: String,
pub format: Format,
pub channel_bytes: i32,
pub configured_version: i32,
pub native_byte_order: i32,
pub endian_performance: f64,
}Expand description
What the server knows about its own stream.
Fields§
§uid: StringThe stream UID.
format: FormatThe channel format.
channel_bytes: i32The size of one channel value in bytes. Zero for a string stream.
configured_version: i32The version that this server runs.
native_byte_order: i32The byte order of this machine.
endian_performance: f64How fast this machine converts a byte order.
A measured value. A test injects a fixed number.
Implementations§
Trait Implementations§
Source§impl Clone for ServerStream
impl Clone for ServerStream
Source§fn clone(&self) -> ServerStream
fn clone(&self) -> ServerStream
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerStream
impl Debug for ServerStream
Source§impl PartialEq for ServerStream
impl PartialEq for ServerStream
impl StructuralPartialEq for ServerStream
Auto Trait Implementations§
impl Freeze for ServerStream
impl RefUnwindSafe for ServerStream
impl Send for ServerStream
impl Sync for ServerStream
impl Unpin for ServerStream
impl UnsafeUnpin for ServerStream
impl UnwindSafe for ServerStream
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