pub struct CoapEstRequest {
pub operation: EstOperation,
pub method: CoapMethod,
pub message: CoapMessage,
}Expand description
CoAP request representing an EST-coaps operation.
RFC 9483 §5.1: EST-coaps URIs follow the pattern: coaps://host/.well-known/est/{operation} where {operation} uses the abbreviated names from RFC 9483 §5.1:
- /cacerts -> /cacerts (GET)
- /sen -> /simpleenroll (POST)
- /sren -> /simplereenroll (POST)
- /skg -> /serverkeygen (POST)
- /att -> /csrattrs (GET)
- /crts -> /cacerts (GET, alias)
Fields§
§operation: EstOperationThe decoded EST operation.
method: CoapMethodThe CoAP method used.
message: CoapMessageThe original CoAP message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoapEstRequest
impl RefUnwindSafe for CoapEstRequest
impl Send for CoapEstRequest
impl Sync for CoapEstRequest
impl Unpin for CoapEstRequest
impl UnsafeUnpin for CoapEstRequest
impl UnwindSafe for CoapEstRequest
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