pub struct Streamer { /* private fields */ }
Implementations§
Source§impl Streamer
impl Streamer
pub fn new( id: String, name: String, address: String, port: u16, tun_ip_network: String, password: String, destination_address: String, destination_port: u16, belabox: bool, belabox_config: PathBuf, ) -> Result<Self, Box<dyn Error + Send + Sync>>
pub async fn start(&self) -> Result<(), Box<dyn Error + Send + Sync>>
Auto Trait Implementations§
impl Freeze for Streamer
impl !RefUnwindSafe for Streamer
impl Send for Streamer
impl Sync for Streamer
impl Unpin for Streamer
impl !UnwindSafe for Streamer
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