pub struct FileConfig {Show 15 fields
pub directory: String,
pub delay: Duration,
pub initial_delay: Duration,
pub noop: bool,
pub delete: bool,
pub move_to: Option<String>,
pub file_name: Option<String>,
pub include: Option<String>,
pub exclude: Option<String>,
pub recursive: bool,
pub file_exist: FileExistStrategy,
pub temp_prefix: Option<String>,
pub auto_create: bool,
pub read_timeout: Duration,
pub write_timeout: Duration,
}Fields§
§directory: String§delay: Duration§initial_delay: Duration§noop: bool§delete: bool§move_to: Option<String>§file_name: Option<String>§include: Option<String>§exclude: Option<String>§recursive: bool§file_exist: FileExistStrategy§temp_prefix: Option<String>§auto_create: bool§read_timeout: Duration§write_timeout: DurationImplementations§
Source§impl FileConfig
impl FileConfig
pub fn from_uri(uri: &str) -> Result<Self, CamelError>
Trait Implementations§
Source§impl Clone for FileConfig
impl Clone for FileConfig
Source§fn clone(&self) -> FileConfig
fn clone(&self) -> FileConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileConfig
impl RefUnwindSafe for FileConfig
impl Send for FileConfig
impl Sync for FileConfig
impl Unpin for FileConfig
impl UnsafeUnpin for FileConfig
impl UnwindSafe for FileConfig
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