pub trait ParamExt: Param {
// Provided methods
fn map<U, F>(self, f: F) -> Map<Self, F>
where F: Fn(Self::Item) -> U,
Self: Sized { ... }
fn try_map<U, E, F>(self, f: F) -> TryMap<Self, F>
where E: Debug,
F: Fn(Self::Item) -> Result<U, E>,
Self: Sized { ... }
fn join<B>(self, b: B) -> Join<Self, B>
where B: Param,
Self: Sized { ... }
fn convert<F, U, E>(self, f: F) -> Convert<Self, F>
where E: Debug + Display,
F: Fn(&Self::Item) -> Result<U, E>,
Self: Sized,
Self::Item: Clone + Debug { ... }
fn rename(self, name: String) -> Rename<Self>
where Self: Sized { ... }
fn add_note(self, note: Note) -> AddNote<Self>
where Self: Sized { ... }
fn set_notes_to_document(
self,
which_notes_to_document: WhichNotes,
) -> SetNotesToDocument<Self>
where Self: Sized { ... }
fn with_help(self, help: Flag) -> WithHelp<Self>
where Self: Sized { ... }
fn with_default_help(self) -> WithHelp<Self>
where Self: Sized { ... }
}
Provided Methods§
fn map<U, F>(self, f: F) -> Map<Self, F>
fn try_map<U, E, F>(self, f: F) -> TryMap<Self, F>
fn join<B>(self, b: B) -> Join<Self, B>
fn convert<F, U, E>(self, f: F) -> Convert<Self, F>
fn rename(self, name: String) -> Rename<Self>where
Self: Sized,
fn add_note(self, note: Note) -> AddNote<Self>where
Self: Sized,
fn set_notes_to_document(
self,
which_notes_to_document: WhichNotes,
) -> SetNotesToDocument<Self>where
Self: Sized,
fn with_help(self, help: Flag) -> WithHelp<Self>where
Self: Sized,
fn with_default_help(self) -> WithHelp<Self>where
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.