pub fn out_message_cell(&self) -> Option<Cell> {
        match self {
            OutMsg::External(_) => None,
            OutMsg::Immediately(ref x) => Some(x.out_message_cell()),
            OutMsg::New(ref x) => Some(x.out_message_cell()),
            OutMsg::Transit(ref x) => Some(x.out_message_cell()),
            OutMsg::Dequeue(ref x) => Some(x.out_message_cell()),
            OutMsg::DequeueShort(_) => None,
            OutMsg::DequeueImmediately(ref x) => Some(x.out_message_cell()),
            OutMsg::TransitRequeued(ref x) => Some(x.out_message_cell()),
            OutMsg::None => None
        }
    }
///
/// the function returns the message envelop (if exists)
///
the function returns the message envelop (if exists)
the function returns the message envelop ( if exists )
pub fn out_message_cell(&self) -> Option<Cell> {
        match self {
            OutMsg::External(_) => None,
            OutMsg::Immediately(ref x) => Some(x.out_message_cell()),
            OutMsg::New(ref x) => Some(x.out_message_cell()),
            OutMsg::Transit(ref x) => Some(x.out_message_cell()),
            OutMsg::Dequeue(ref x) => Some(x.out_message_cell()),
            OutMsg::DequeueShort(_) => None,
            OutMsg::DequeueImmediately(ref x) => Some(x.out_message_cell()),
            OutMsg::TransitRequeued(ref x) => Some(x.out_message_cell()),
            OutMsg::None => None
        }
    }
pub fn out_message_cell ( & self ) -> Option < Cell > { match self { OutMsg :: External ( _ ) => None , OutMsg :: Immediately ( ref x ) => Some ( x . out_message_cell ( ) ) , OutMsg :: New ( ref x ) => Some ( x . out_message_cell ( ) ) , OutMsg :: Transit ( ref x ) => Some ( x . out_message_cell ( ) ) , OutMsg :: Dequeue ( ref x ) => Some ( x . out_message_cell ( ) ) , OutMsg :: DequeueShort ( _ ) => None , OutMsg :: DequeueImmediately ( ref x ) => Some ( x . out_message_cell ( ) ) , OutMsg :: TransitRequeued ( ref x ) => Some ( x . out_message_cell ( ) ) , OutMsg :: None => None } }
the function returns the message envelop (if exists)
the function returns the message envelop ( if exists )
&self
&self