Enum bui_backend::access_control::AccessControl
source · [−]pub enum AccessControl {
Insecure(SocketAddr),
WithToken(AccessInfo),
}
Expand description
Access control method for the HTTP API
Variants
Insecure(SocketAddr)
Access is not restricted (for use with local IP addresses)
WithToken(AccessInfo)
Access is restricted
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AccessControl
impl Send for AccessControl
impl Sync for AccessControl
impl Unpin for AccessControl
impl UnwindSafe for AccessControl
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more