pub struct GatewayDef {
pub path: &'static str,
pub type_id: TypeId,
/* private fields */
}Expand description
Re-exported public API.
Public Caelix type GatewayDef.
Fields§
§path: &'static strThe path value.
type_id: TypeIdThe type_id value.
Implementations§
Source§impl GatewayDef
impl GatewayDef
Sourcepub fn websocket<G: WebSocketGateway>(path: &'static str) -> Self
pub fn websocket<G: WebSocketGateway>(path: &'static str) -> Self
Runs the websocket public API operation.
Auto Trait Implementations§
impl !RefUnwindSafe for GatewayDef
impl !UnwindSafe for GatewayDef
impl Freeze for GatewayDef
impl Send for GatewayDef
impl Sync for GatewayDef
impl Unpin for GatewayDef
impl UnsafeUnpin for GatewayDef
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