Struct rune_modules::http::StatusCode
source · pub struct StatusCode { /* private fields */ }Trait Implementations§
source§impl Debug for StatusCode
impl Debug for StatusCode
source§impl InstallWith for StatusCode
impl InstallWith for StatusCode
source§fn install_with(module: &mut Module) -> Result<(), ContextError>
fn install_with(module: &mut Module) -> Result<(), ContextError>
Hook to install more things into the module.
source§impl Named for StatusCode
impl Named for StatusCode
source§impl TypeOf for StatusCode
impl TypeOf for StatusCode
source§impl UnsafeFromValue for &StatusCode
impl UnsafeFromValue for &StatusCode
§type Output = *const StatusCode
type Output = *const StatusCode
The output type from the unsafe coercion.
source§fn from_value(value: Value) -> Result<(Self::Output, Self::Guard), VmError>
fn from_value(value: Value) -> Result<(Self::Output, Self::Guard), VmError>
Convert the given reference using unsafe assumptions to a value. Read more
source§unsafe fn unsafe_coerce(output: Self::Output) -> Self
unsafe fn unsafe_coerce(output: Self::Output) -> Self
Coerce the output of an unsafe from value into the final output type. Read more
source§impl UnsafeFromValue for &mut StatusCode
impl UnsafeFromValue for &mut StatusCode
§type Output = *mut StatusCode
type Output = *mut StatusCode
The output type from the unsafe coercion.
source§fn from_value(value: Value) -> Result<(Self::Output, Self::Guard), VmError>
fn from_value(value: Value) -> Result<(Self::Output, Self::Guard), VmError>
Convert the given reference using unsafe assumptions to a value. Read more
source§unsafe fn unsafe_coerce(output: Self::Output) -> Self
unsafe fn unsafe_coerce(output: Self::Output) -> Self
Coerce the output of an unsafe from value into the final output type. Read more
source§impl UnsafeToValue for &StatusCode
impl UnsafeToValue for &StatusCode
source§impl UnsafeToValue for &mut StatusCode
impl UnsafeToValue for &mut StatusCode
Auto Trait Implementations§
impl RefUnwindSafe for StatusCode
impl Send for StatusCode
impl Sync for StatusCode
impl Unpin for StatusCode
impl UnwindSafe for StatusCode
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> UnsafeFromValue for Twhere
T: FromValue,
impl<T> UnsafeFromValue for Twhere T: FromValue,
source§fn from_value(
value: Value
) -> Result<(T, <T as UnsafeFromValue>::Guard), VmError>
fn from_value( value: Value ) -> Result<(T, <T as UnsafeFromValue>::Guard), VmError>
Convert the given reference using unsafe assumptions to a value. Read more
source§unsafe fn unsafe_coerce(output: <T as UnsafeFromValue>::Output) -> T
unsafe fn unsafe_coerce(output: <T as UnsafeFromValue>::Output) -> T
Coerce the output of an unsafe from value into the final output type. Read more