pub enum RemowtListener {
Ssh(Receiver<Channel<Msg>>),
Local(UnixListener, Utf8PathBuf),
}Variants§
Ssh(Receiver<Channel<Msg>>)
Local(UnixListener, Utf8PathBuf)
Implementations§
Source§impl RemowtListener
impl RemowtListener
pub async fn accept(self) -> Result<RemowtStream>
Auto Trait Implementations§
impl !Freeze for RemowtListener
impl !RefUnwindSafe for RemowtListener
impl !UnwindSafe for RemowtListener
impl Send for RemowtListener
impl Sync for RemowtListener
impl Unpin for RemowtListener
impl UnsafeUnpin for RemowtListener
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