Enum sep2_client::client::SEPResponse
source · pub enum SEPResponse {
Created(Option<String>),
NoContent,
BadRequest(Option<Error>),
NotFound,
MethodNotAllowed(String),
}
Expand description
Possible HTTP Responses for a IEE 2030.5 Client to both send & receive.
Variants§
Created(Option<String>)
HTTP 201 w/ Location header value, if it exists - 2030.5-2018 - 5.5.2.4
NoContent
HTTP 204 - 2030.5-2018 - 5.5.2.5
BadRequest(Option<Error>)
HTTP 400 - 2030.5-2018 - 5.5.2.9
NotFound
HTTP 404 - 2030.5-2018 - 5.5.2.11
MethodNotAllowed(String)
HTTP 405 w/ Allow header value - 2030.5-2018 - 5.5.2.12
Trait Implementations§
source§impl Display for SEPResponse
impl Display for SEPResponse
Auto Trait Implementations§
impl RefUnwindSafe for SEPResponse
impl Send for SEPResponse
impl Sync for SEPResponse
impl Unpin for SEPResponse
impl UnwindSafe for SEPResponse
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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