Struct tungstenite::handshake::server::NoCallback [] [src]

pub struct NoCallback;

Stub for callback that does nothing.

Trait Implementations

impl Clone for NoCallback
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for NoCallback
[src]

impl Callback for NoCallback
[src]

[src]

Called whenever the server read the request from the client and is ready to reply to it. May return additional reply headers. Returning an error resulting in rejecting the incoming connection. Read more