pub struct FileHandlerBuilder { /* private fields */ }Expand description
Builder for FileHandler.
Implementations§
Source§impl FileHandlerBuilder
impl FileHandlerBuilder
pub fn action<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn accepts<VALUE: Into<Vec<FileHandlerAccept>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn display_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<FileHandler, FileHandlerBuilderError>
pub fn build(&self) -> Result<FileHandler, FileHandlerBuilderError>
Trait Implementations§
Source§impl Clone for FileHandlerBuilder
impl Clone for FileHandlerBuilder
Source§fn clone(&self) -> FileHandlerBuilder
fn clone(&self) -> FileHandlerBuilder
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 FileHandlerBuilder
impl RefUnwindSafe for FileHandlerBuilder
impl Send for FileHandlerBuilder
impl Sync for FileHandlerBuilder
impl Unpin for FileHandlerBuilder
impl UnsafeUnpin for FileHandlerBuilder
impl UnwindSafe for FileHandlerBuilder
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