pub struct FutureSettings {
pub success_callback_method_name: Name,
pub success_single_parameter_name: Name,
pub failure_callback_method_name: Name,
pub failure_single_parameter_name: Name,
pub async_method_callback_parameter_name: Name,
}
Expand description
Settings that affect how things are named in future-style callback interfaces
Fields§
§success_callback_method_name: Name
The name given to the success completion method on interface
success_single_parameter_name: Name
The name given to the result parameter of the success completion method
failure_callback_method_name: Name
The name given to the failure completion method on interface
failure_single_parameter_name: Name
The name given to the error parameter of the failure completion method
async_method_callback_parameter_name: Name
The name given to the final callback parameter of the async methods
Implementations§
Trait Implementations§
Source§impl Debug for FutureSettings
impl Debug for FutureSettings
Auto Trait Implementations§
impl Freeze for FutureSettings
impl RefUnwindSafe for FutureSettings
impl !Send for FutureSettings
impl !Sync for FutureSettings
impl Unpin for FutureSettings
impl UnwindSafe for FutureSettings
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