pub struct SmcpServerLayer {
pub io: SocketIo,
pub layer: SocketIoLayer,
pub state: ServerState,
}Expand description
SMCP 服务器 Layer SMCP server layer
Fields§
§io: SocketIoSocket.IO 实例
layer: SocketIoLayerTower Layer
state: ServerState服务器状态
Implementations§
Trait Implementations§
Source§impl Clone for SmcpServerLayer
impl Clone for SmcpServerLayer
Source§fn clone(&self) -> SmcpServerLayer
fn clone(&self) -> SmcpServerLayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SmcpServerLayer
impl !RefUnwindSafe for SmcpServerLayer
impl Send for SmcpServerLayer
impl Sync for SmcpServerLayer
impl Unpin for SmcpServerLayer
impl !UnwindSafe for SmcpServerLayer
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