[−][src]Struct romp::workflow::filter::requires_auth::RequiresAuthFilter
ensures that filter chain is interrupted it a user is not logged in and sends messages that require login also filters out some invalid workflow, such as client sending ERROR or MESSAGE that are server responses.
Methods
impl RequiresAuthFilter
[src]
pub fn new() -> RequiresAuthFilter
[src]
Trait Implementations
impl Debug for RequiresAuthFilter
[src]
impl MessageFilter for RequiresAuthFilter
[src]
fn init(&mut self)
[src]
fn do_filter(
&self,
context: &mut Context,
message: &mut StompMessage
) -> Result<bool, FilterError>
[src]
&self,
context: &mut Context,
message: &mut StompMessage
) -> Result<bool, FilterError>
Auto Trait Implementations
impl RefUnwindSafe for RequiresAuthFilter
impl Send for RequiresAuthFilter
impl Sync for RequiresAuthFilter
impl Unpin for RequiresAuthFilter
impl UnwindSafe for RequiresAuthFilter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,