Struct oxide_auth_actix::OAuthMessage
source · pub struct OAuthMessage<Operation, Extras>(/* private fields */);
Expand description
A message type to easily send OAuthOperation
s to an actor
Implementations§
source§impl<Operation, Extras> OAuthMessage<Operation, Extras>
impl<Operation, Extras> OAuthMessage<Operation, Extras>
sourcepub fn into_inner(self) -> (Operation, Extras)
pub fn into_inner(self) -> (Operation, Extras)
Produce an OAuthOperation from a wrapping OAuthMessage
Trait Implementations§
source§impl<Operation, Extras> Message for OAuthMessage<Operation, Extras>where
Operation: OAuthOperation + 'static,
impl<Operation, Extras> Message for OAuthMessage<Operation, Extras>where
Operation: OAuthOperation + 'static,
§type Result = Result<<Operation as OAuthOperation>::Item, <Operation as OAuthOperation>::Error>
type Result = Result<<Operation as OAuthOperation>::Item, <Operation as OAuthOperation>::Error>
The type of value that this message will resolved with if it is
successful.
Auto Trait Implementations§
impl<Operation, Extras> RefUnwindSafe for OAuthMessage<Operation, Extras>where
Extras: RefUnwindSafe,
Operation: RefUnwindSafe,
impl<Operation, Extras> Send for OAuthMessage<Operation, Extras>
impl<Operation, Extras> Sync for OAuthMessage<Operation, Extras>
impl<Operation, Extras> Unpin for OAuthMessage<Operation, Extras>
impl<Operation, Extras> UnwindSafe for OAuthMessage<Operation, Extras>where
Extras: UnwindSafe,
Operation: UnwindSafe,
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