Struct rune_modules::http::StatusCode [−][src]
Trait Implementations
impl Any for StatusCode
[src]
impl Debug for StatusCode
[src]
impl InstallWith for StatusCode
[src]
fn install_with(module: &mut Module) -> Result<(), ContextError>
[src]
impl Named for StatusCode
[src]
impl TypeOf for StatusCode
[src]
impl UnsafeFromValue for &StatusCode
[src]
type Output = *const StatusCode
The output type from the unsafe coercion.
type Guard = RawRef
The raw guard returned. Read more
fn from_value(value: Value) -> Result<(Self::Output, Self::Guard), VmError>
[src]
unsafe fn unsafe_coerce(output: Self::Output) -> Self
[src]
impl UnsafeFromValue for &mut StatusCode
[src]
type Output = *mut StatusCode
The output type from the unsafe coercion.
type Guard = RawMut
The raw guard returned. Read more
fn from_value(value: Value) -> Result<(Self::Output, Self::Guard), VmError>
[src]
unsafe fn unsafe_coerce(output: Self::Output) -> Self
[src]
impl UnsafeToValue for &StatusCode
[src]
type Guard = SharedPointerGuard
The type used to guard the unsafe value conversion.
unsafe fn unsafe_to_value(self) -> Result<(Value, Self::Guard), VmError>
[src]
impl UnsafeToValue for &mut StatusCode
[src]
type Guard = SharedPointerGuard
The type used to guard the unsafe value conversion.
unsafe fn unsafe_to_value(self) -> Result<(Value, Self::Guard), VmError>
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> FromValue for T where
T: Any,
[src]
T: Any,
pub fn from_value(value: Value) -> Result<T, VmError>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToValue for T where
T: Any,
[src]
T: Any,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeFromValue for T where
T: FromValue,
[src]
T: FromValue,
type Output = T
The output type from the unsafe coercion.
type Guard = ()
The raw guard returned. Read more
pub fn from_value(
value: Value
) -> Result<(T, <T as UnsafeFromValue>::Guard), VmError>
[src]
value: Value
) -> Result<(T, <T as UnsafeFromValue>::Guard), VmError>
pub unsafe fn unsafe_coerce(output: <T as UnsafeFromValue>::Output) -> T
[src]
impl<T> UnsafeToValue for T where
T: ToValue,
[src]
T: ToValue,