pub struct Regulator { /* private fields */ }Implementations§
Source§impl Regulator
impl Regulator
pub fn new() -> Regulator
pub fn set_stdout_size(&mut self, size: usize)
pub fn get_control(&mut self) -> RegulatorControl
Trait Implementations§
Source§impl Connectable for Regulator
impl Connectable for Regulator
fn add_output( &mut self, port: OutputPort, breakable: Breakable, src_id: usize, dst_id: usize, ) -> Result<Pull, ConnectableAddOutputError>
fn add_input( &mut self, pull: Pull, unused_priority: isize, ) -> Result<(), ConnectableAddInputError>
Auto Trait Implementations§
impl !Freeze for Regulator
impl !RefUnwindSafe for Regulator
impl Send for Regulator
impl Sync for Regulator
impl Unpin for Regulator
impl !UnwindSafe for Regulator
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