pub struct CableConfig {
pub backend: Backend,
pub ping_interval: Duration,
pub mount_path: String,
pub redis_url: Option<String>,
}Expand description
Runtime cable configuration.
Fields§
§backend: Backend§ping_interval: DurationHow often the server sends an ActionCable ping.
mount_path: StringPath the cable endpoint is mounted at.
redis_url: Option<String>Trait Implementations§
Source§impl Clone for CableConfig
impl Clone for CableConfig
Source§fn clone(&self) -> CableConfig
fn clone(&self) -> CableConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CableConfig
impl Debug for CableConfig
Auto Trait Implementations§
impl Freeze for CableConfig
impl RefUnwindSafe for CableConfig
impl Send for CableConfig
impl Sync for CableConfig
impl Unpin for CableConfig
impl UnsafeUnpin for CableConfig
impl UnwindSafe for CableConfig
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