pub struct DirectConfig {
pub operands: [InterlaceModule; 2],
pub authorities: [SessionAuthority; 2],
pub limits: InterlaceResourceLimits,
}Expand description
Same-runtime composition owns two slot-ordered modules and one operation limit.
Fields§
§operands: [InterlaceModule; 2]§limits: InterlaceResourceLimitsImplementations§
Source§impl DirectConfig
impl DirectConfig
pub fn new( operands: [InterlaceModule; 2], authorities: [SessionAuthority; 2], ) -> Self
pub fn with_limits(self, limits: InterlaceResourceLimits) -> Self
pub fn validate(&self) -> Result<(), CoreError>
Trait Implementations§
Source§impl Clone for DirectConfig
impl Clone for DirectConfig
Source§fn clone(&self) -> DirectConfig
fn clone(&self) -> DirectConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DirectConfig
impl RefUnwindSafe for DirectConfig
impl Send for DirectConfig
impl Sync for DirectConfig
impl Unpin for DirectConfig
impl UnsafeUnpin for DirectConfig
impl UnwindSafe for DirectConfig
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