pub struct MachineEndpointPolicy(/* private fields */);Expand description
Immutable bounded policy installed through Server::with_machine_endpoints
or apply_security_baseline_with_machine_endpoints.
Implementations§
Source§impl MachineEndpointPolicy
impl MachineEndpointPolicy
Sourcepub fn new(
endpoints: Vec<MachineEndpoint>,
) -> Result<Self, MachineEndpointError>
pub fn new( endpoints: Vec<MachineEndpoint>, ) -> Result<Self, MachineEndpointError>
Rejects duplicate method/path pairs and registries exceeding 32 entries.
Trait Implementations§
Source§impl Clone for MachineEndpointPolicy
impl Clone for MachineEndpointPolicy
Auto Trait Implementations§
impl !RefUnwindSafe for MachineEndpointPolicy
impl !UnwindSafe for MachineEndpointPolicy
impl Freeze for MachineEndpointPolicy
impl Send for MachineEndpointPolicy
impl Sync for MachineEndpointPolicy
impl Unpin for MachineEndpointPolicy
impl UnsafeUnpin for MachineEndpointPolicy
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