pub struct LinkSpec {
pub fleet_capacity: u16,
pub inbox_kind: u8,
pub inbox: InboxGeometry,
pub streams: StreamSpec,
}Expand description
Physical resources one named link fleet opens.
Kinds are supplied by the deployment and must be distinct. orbit-link
reserves no global default because several independent links may coexist
in one fleet namespace.
Fields§
§fleet_capacity: u16§inbox_kind: u8§inbox: InboxGeometry§streams: StreamSpecImplementations§
Source§impl LinkSpec
impl LinkSpec
pub const fn new( fleet_capacity: u16, inbox_kind: u8, inbox: InboxGeometry, streams: StreamSpec, ) -> Self
pub const fn inbox_segment_bytes(self) -> usize
Trait Implementations§
impl Copy for LinkSpec
impl Eq for LinkSpec
impl StructuralPartialEq for LinkSpec
Auto Trait Implementations§
impl Forget for LinkSpec
impl Freeze for LinkSpec
impl Move for LinkSpec
impl RefUnwindSafe for LinkSpec
impl Send for LinkSpec
impl Sync for LinkSpec
impl Unpin for LinkSpec
impl UnsafeUnpin for LinkSpec
impl UnwindSafe for LinkSpec
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