pub struct ShipStack {
pub harbor: Box<dyn HarborLayer>,
pub tide_pool: Box<dyn TidePoolLayer>,
pub current: Box<dyn CurrentLayer>,
pub channel: Box<dyn ChannelLayer>,
pub beacon: Box<dyn BeaconLayer>,
pub reef: Box<dyn ReefLayer>,
}Expand description
A composed stack of all 6 Ship Interconnection Protocol layers.
send routes a message through layers 1 → 6 (bottom-up).
receive routes incoming data through layers 6 → 1 (top-down).
Fields§
§harbor: Box<dyn HarborLayer>§tide_pool: Box<dyn TidePoolLayer>§current: Box<dyn CurrentLayer>§channel: Box<dyn ChannelLayer>§beacon: Box<dyn BeaconLayer>§reef: Box<dyn ReefLayer>Implementations§
Auto Trait Implementations§
impl Freeze for ShipStack
impl !RefUnwindSafe for ShipStack
impl !Send for ShipStack
impl !Sync for ShipStack
impl Unpin for ShipStack
impl UnsafeUnpin for ShipStack
impl !UnwindSafe for ShipStack
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