[−][src]Struct termscp::activity_manager::ActivityManager
ActivityManager
The activity manager takes care of running activities and handling them until the application has ended
Implementations
impl ActivityManager
[src]
pub fn new(
local_dir: &PathBuf,
interval: Duration
) -> Result<ActivityManager, ()>
[src]
local_dir: &PathBuf,
interval: Duration
) -> Result<ActivityManager, ()>
new
Initializes a new Activity Manager
pub fn set_filetransfer_params(
&mut self,
address: String,
port: u16,
protocol: FileTransferProtocol,
username: Option<String>,
password: Option<String>
)
[src]
&mut self,
address: String,
port: u16,
protocol: FileTransferProtocol,
username: Option<String>,
password: Option<String>
)
set_filetransfer_params
Set file transfer params
pub fn run(&mut self, launch_activity: NextActivity)
[src]
run
Loop for activity manager. You need to provide the activity to start with Returns the exitcode
Auto Trait Implementations
impl RefUnwindSafe for ActivityManager
[src]
impl Send for ActivityManager
[src]
impl Sync for ActivityManager
[src]
impl Unpin for ActivityManager
[src]
impl UnwindSafe for ActivityManager
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,