pub struct Ngin {
pub enabled: bool,
/* private fields */
}Expand description
Provides access to the data required for xtomp-console.
Fields§
§enabled: boolImplementations§
Source§impl Ngin
impl Ngin
Sourcepub fn response_ngin_config(&self) -> StompMessage
pub fn response_ngin_config(&self) -> StompMessage
response for /romp/ngin-config/
Sourcepub fn response_ngin_info(&self) -> StompMessage
pub fn response_ngin_info(&self) -> StompMessage
response for /romp/ngin-info/
Sourcepub fn response_destination_info(&self, destination: &str) -> StompMessage
pub fn response_destination_info(&self, destination: &str) -> StompMessage
response for /romp/destination-info/?destination=memtop-a
Auto Trait Implementations§
impl !Freeze for Ngin
impl RefUnwindSafe for Ngin
impl Send for Ngin
impl Sync for Ngin
impl Unpin for Ngin
impl UnsafeUnpin for Ngin
impl UnwindSafe for Ngin
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