pub struct NoCallbacks;Expand description
Trait Implementations§
Source§impl Callbacks for NoCallbacks
impl Callbacks for NoCallbacks
Source§fn display_message(&self, _: &str)
fn display_message(&self, _: &str)
Shows a message to the user. Read more
Source§fn confirm(&self, _: &str, _: &str, _: Option<&str>) -> Option<bool>
fn confirm(&self, _: &str, _: &str, _: Option<&str>) -> Option<bool>
Requests that the user provides confirmation for some action. Read more
Source§fn request_public_string(&self, _: &str) -> Option<String>
fn request_public_string(&self, _: &str) -> Option<String>
Requests non-private input from the user. Read more
Source§fn request_passphrase(&self, _: &str) -> Option<SecretString>
fn request_passphrase(&self, _: &str) -> Option<SecretString>
Requests a passphrase to decrypt a key. Read more
Source§impl Clone for NoCallbacks
impl Clone for NoCallbacks
Source§fn clone(&self) -> NoCallbacks
fn clone(&self) -> NoCallbacks
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 moreSource§impl Debug for NoCallbacks
impl Debug for NoCallbacks
impl Copy for NoCallbacks
Auto Trait Implementations§
impl Freeze for NoCallbacks
impl RefUnwindSafe for NoCallbacks
impl Send for NoCallbacks
impl Sync for NoCallbacks
impl Unpin for NoCallbacks
impl UnwindSafe for NoCallbacks
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more