pub struct FtpWatcher { /* private fields */ }Implementations§
Source§impl FtpWatcher
impl FtpWatcher
pub fn connect( target: WatchTarget, options: &WatchOptions, ) -> Result<Self, WatchError>
Trait Implementations§
Source§impl PathWatcher for FtpWatcher
impl PathWatcher for FtpWatcher
fn poll(&mut self) -> Result<Vec<WatchEvent>, WatchError>
fn read(&mut self, path: &str) -> Result<Vec<u8>, WatchError>
fn has_pending(&self) -> bool
fn connection_state(&self) -> ConnectionState
Auto Trait Implementations§
impl Freeze for FtpWatcher
impl !RefUnwindSafe for FtpWatcher
impl Send for FtpWatcher
impl Sync for FtpWatcher
impl Unpin for FtpWatcher
impl UnsafeUnpin for FtpWatcher
impl !UnwindSafe for FtpWatcher
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