enum Rfunc {
Default,
Expired,
Mut(Box<dyn FnMut(Uuid) -> Result<SecretResponseModel, Error<GetError>> + Send>),
MutSt(Fragile<Box<dyn FnMut(Uuid) -> Result<SecretResponseModel, Error<GetError>>>>),
Once(Box<dyn FnOnce(Uuid) -> Result<SecretResponseModel, Error<GetError>> + Send>),
OnceSt(Fragile<Box<dyn FnOnce(Uuid) -> Result<SecretResponseModel, Error<GetError>>>>),
_Phantom(Box<dyn Fn() + Send>),
}
Variants§
Default
Expired
Mut(Box<dyn FnMut(Uuid) -> Result<SecretResponseModel, Error<GetError>> + Send>)
MutSt(Fragile<Box<dyn FnMut(Uuid) -> Result<SecretResponseModel, Error<GetError>>>>)
Once(Box<dyn FnOnce(Uuid) -> Result<SecretResponseModel, Error<GetError>> + Send>)
OnceSt(Fragile<Box<dyn FnOnce(Uuid) -> Result<SecretResponseModel, Error<GetError>>>>)
_Phantom(Box<dyn Fn() + Send>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rfunc
impl !RefUnwindSafe for Rfunc
impl Send for Rfunc
impl !Sync for Rfunc
impl Unpin for Rfunc
impl !UnwindSafe for Rfunc
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