pub struct TftpServer<H>where
H: Handler,{ /* private fields */ }
Expand description
TFTP server.
Implementations§
Source§impl<H> TftpServer<H>where
H: Handler + 'static,
impl<H> TftpServer<H>where
H: Handler + 'static,
Sourcepub fn listen_addr(&self) -> Result<SocketAddr>
pub fn listen_addr(&self) -> Result<SocketAddr>
Returns the listenning socket address.
Auto Trait Implementations§
impl<H> !Freeze for TftpServer<H>
impl<H> !RefUnwindSafe for TftpServer<H>
impl<H> Send for TftpServer<H>
impl<H> Sync for TftpServer<H>
impl<H> Unpin for TftpServer<H>
impl<H> !UnwindSafe for TftpServer<H>
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