pub struct DefaultChannelPolicy;Trait Implementations§
Source§impl ChannelPolicy for DefaultChannelPolicy
impl ChannelPolicy for DefaultChannelPolicy
fn can_join( &self, meta: &ConnectionMeta, channel: &ChannelName, ) -> Result<(), RealtimeError>
fn can_publish( &self, meta: &ConnectionMeta, channel: &ChannelName, event: &str, ) -> Result<(), RealtimeError>
Source§impl Debug for DefaultChannelPolicy
impl Debug for DefaultChannelPolicy
Source§impl Default for DefaultChannelPolicy
impl Default for DefaultChannelPolicy
Source§fn default() -> DefaultChannelPolicy
fn default() -> DefaultChannelPolicy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultChannelPolicy
impl RefUnwindSafe for DefaultChannelPolicy
impl Send for DefaultChannelPolicy
impl Sync for DefaultChannelPolicy
impl Unpin for DefaultChannelPolicy
impl UnsafeUnpin for DefaultChannelPolicy
impl UnwindSafe for DefaultChannelPolicy
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