[][src]Trait queen::node::Hook

pub trait Hook: Send + 'static {
    pub fn enable_secure(&self) -> bool { ... }
pub fn accept(&self, _: &mut TcpStream) -> bool { ... }
pub fn start(
        &self,
        _slot_id: MessageId,
        _root: bool,
        _: &mut Message
    ) -> bool { ... }
pub fn access(
        &self,
        _slot_id: MessageId,
        _root: bool,
        _: &mut Message
    ) -> Option<String> { ... }
pub fn finish(
        &self,
        _slot_id: MessageId,
        _root: bool,
        _: &mut Message,
        _: &Wire<Message>
    ) { ... } }

Provided methods

pub fn enable_secure(&self) -> bool[src]

pub fn accept(&self, _: &mut TcpStream) -> bool[src]

pub fn start(&self, _slot_id: MessageId, _root: bool, _: &mut Message) -> bool[src]

pub fn access(
    &self,
    _slot_id: MessageId,
    _root: bool,
    _: &mut Message
) -> Option<String>
[src]

pub fn finish(
    &self,
    _slot_id: MessageId,
    _root: bool,
    _: &mut Message,
    _: &Wire<Message>
)
[src]

Loading content...

Implementations on Foreign Types

impl Hook for ()[src]

Loading content...

Implementors

impl Hook for NonHook[src]

Loading content...