enum FunctionReturn {
Success(Vec<Log>),
ValidationFailed(Vec<Log>),
Error(Error),
}and then you can just use
match to operate based on how successful the function was
enum FunctionReturn {
Success(Vec<Log>),
ValidationFailed(Vec<Log>),
Error(Error),
}match to operate based on how successful the function was
This server's configuration is preventing remotely originating content from being shown. This view may therefore be incomplete.