[][src]Struct backplane::StreamSettings

pub struct StreamSettings {
    pub file: FileSettings,
    pub tcp_client: TcpClientSettings,
    pub tcp_server: TcpServerSettings,
    pub udp: UdpSettings,
}

The stream settings are all the settings for all stream types

Fields

file: FileSettingstcp_client: TcpClientSettingstcp_server: TcpServerSettingsudp: UdpSettings

Methods

impl StreamSettings[src]

pub fn open_input(
    &self,
    input_option: &StreamOption
) -> Result<ReadStream, String>
[src]

pub fn open_output(
    &self,
    output_option: &StreamOption
) -> Result<WriteStream, String>
[src]

Trait Implementations

impl Clone for StreamSettings[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for StreamSettings[src]

impl PartialEq<StreamSettings> for StreamSettings[src]

impl Eq for StreamSettings[src]

impl Debug for StreamSettings[src]

impl Serialize for StreamSettings[src]

impl<'de> Deserialize<'de> for StreamSettings[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]