Enum drought::droughter::DroughterResult
source · Variants§
Handle(Response<Vec<u8>>)
Indicates that the response should be sent back to the client.
Ignore
Indicates that the calling server should not reply to the request, as the droughter has already handled it. This is primarily intended for protocols such as websockets which bootstrap over HTTP.
Drop
Indicates that the connection in question should immediately be dropped.
DropWith(Response<Vec<u8>>)
Indicates that the response should be sent, prior to dropping the connection.