pub struct Output { /* private fields */ }Implementations§
Source§impl Output
impl Output
pub fn new(settings: &ConnectionSettings) -> Self
pub fn is_empty(&self) -> bool
pub fn send_control(&mut self, now: Instant, control: ControlTypes)
pub fn send_data(&mut self, now: Instant, data: DataPacket)
pub fn ensure_alive(&mut self, now: Instant)
pub fn pop_packet(&mut self) -> Option<Packet>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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