Struct rsasl::session::SessionData
source · [−]pub struct SessionData { /* private fields */ }
Implementations
sourceimpl SessionData
impl SessionData
pub fn callback<P: PropertyQ>(&mut self) -> Result<(), SessionError>
pub fn validate(&mut self, validation: Validation) -> Result<(), SessionError>
pub fn get_property_or_callback<P: PropertyQ>(
&mut self
) -> Result<Option<Arc<P::Item>>, SessionError>
pub fn has_property<P: PropertyQ>(&self) -> bool
pub fn get_property<P: PropertyQ>(&self) -> Option<Arc<P::Item>>
pub fn set_property<P: PropertyQ>(
&mut self,
item: Arc<P::Item>
) -> Option<Arc<dyn Any + Send + Sync>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SessionData
impl Send for SessionData
impl Sync for SessionData
impl Unpin for SessionData
impl !UnwindSafe for SessionData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more